Skip to main content
Xamarin.AndroidX.Compose.Runtime.Retain.Android package icon

Xamarin.AndroidX.Compose.Runtime.Retain.Android

.NET for Android and MAUI bindings for the Android Java library 'androidx.compose.runtime:runtime-retain-android'. Note this package only adds the Java library to the application. C# bindings are not provided. Library description: Preserve state in composable methods across configuration changes and other transient content destruction scenarios

Total Downloads
29.4K
29,372
Published
Dec 16, 2025
Latest stable version

Install

.NET CLI
dotnet add package Xamarin.AndroidX.Compose.Runtime.Retain.Android --version 1.10.0
Package Manager Console
Install-Package Xamarin.AndroidX.Compose.Runtime.Retain.Android -Version 1.10.0
PackageReference
<PackageReference Include="Xamarin.AndroidX.Compose.Runtime.Retain.Android" Version="1.10.0" />

Frameworks

net9.0-android35.0 net10.0-android36.0

Dependencies

[1.5.0.3, )
[1.10.0, 1.10.1)
Xamarin.Kotlin.StdLib
net9.0-android35.0
[2.2.21, )
[1.10.2.1, )
[1.5.0.3, )
[1.10.0, 1.10.1)
Xamarin.Kotlin.StdLib
net10.0-android36.0
[2.2.21, )
[1.10.2.1, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.