Xamarin.AndroidX.Lifecycle.ViewModel 2.5.1

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Xamarin.AndroidX.Lifecycle.ViewModel --version 2.5.1
                    
NuGet\Install-Package Xamarin.AndroidX.Lifecycle.ViewModel -Version 2.5.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xamarin.AndroidX.Lifecycle.ViewModel" Version="2.5.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Xamarin.AndroidX.Lifecycle.ViewModel" Version="2.5.1" />
                    
Directory.Packages.props
<PackageReference Include="Xamarin.AndroidX.Lifecycle.ViewModel" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Xamarin.AndroidX.Lifecycle.ViewModel --version 2.5.1
                    
#r "nuget: Xamarin.AndroidX.Lifecycle.ViewModel, 2.5.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Xamarin.AndroidX.Lifecycle.ViewModel@2.5.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Xamarin.AndroidX.Lifecycle.ViewModel&version=2.5.1
                    
Install as a Cake Addin
#tool nuget:?package=Xamarin.AndroidX.Lifecycle.ViewModel&version=2.5.1
                    
Install as a Cake Tool

Xamarin.Android bindings for AndroidX - lifecycle-viewmodel  artifact=androidx.lifecycle:lifecycle-viewmodel artifact_versioned=androidx.lifecycle:lifecycle-viewmodel:2.5.1

Product Compatible and additional computed target framework versions.
.NET net6.0-android31.0 is compatible.  net7.0-android was computed.  net8.0-android was computed.  net9.0-android was computed.  net10.0-android was computed. 
MonoAndroid monoandroid12.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (71)

Showing the top 5 NuGet packages that depend on Xamarin.AndroidX.Lifecycle.ViewModel:

Package Downloads
Xamarin.AndroidX.Fragment

.NET for Android and MAUI bindings for the Android Java library 'androidx.fragment:fragment'. Library description: The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs. Compatible on devices running API 14 or later.

Xamarin.AndroidX.Activity

.NET for Android and MAUI bindings for the Android Java library 'androidx.activity:activity'. Library description: Provides the base Activity subclass and the relevant hooks to build a composable structure on top.

Xamarin.AndroidX.Loader

.NET for Android and MAUI bindings for the Android Java library 'androidx.loader:loader'. Library description: The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs. Compatible on devices running API 14 or later.

Xamarin.AndroidX.Lifecycle.ViewModelSavedState

.NET for Android and MAUI bindings for the Android Java library 'androidx.lifecycle:lifecycle-viewmodel-savedstate'. Library description: Android Lifecycle ViewModel

Xamarin.AndroidX.AppCompat

.NET for Android and MAUI bindings for the Android Java library 'androidx.appcompat:appcompat'. Library description: Provides backwards-compatible implementations of UI-related Android SDK functionality, including dark mode and Material theming.

GitHub repositories (7)

Showing the top 7 popular GitHub repositories that depend on Xamarin.AndroidX.Lifecycle.ViewModel:

Repository Stars
xamarin/XamarinComponents
Plugins for Xamarin
8212369/WPR
WP7-8 APP 运行器
HorusSoftwareUY/MaterialDesignControlsPlugin
Material Design Controls Plugin for Xamarin.Forms
jerry08/Anikin
A multi-platform app to stream/download videos.
muak/AiForms.Effects
AiForms.Effects for Xamarin.Forms
Azure-Samples/active-directory-b2c-xamarin-native
This is a simple Xamarin Forms app showcasing how to use MSAL to authenticate users via Azure Active Directory B2C, and access a Web API with the resulting tokens.
CrossGeeks/FacebookClientPlugin
Facebook Client Plugin for Xamarin iOS and Android
Version Downloads Last Updated
2.9.3 3,995 9/25/2025
2.9.2.1 60,388 8/16/2025
2.9.2 9,441 7/29/2025
2.9.1 79,524 6/23/2025
2.9.0 2,934 6/17/2025
2.8.7.4 189,744 6/6/2025
2.8.7.3 574,896 4/30/2025
2.8.7.2 1,055,253 1/22/2025
2.8.7.1 328,435 11/8/2024
2.8.7 4,263 11/6/2024
2.8.6 68,666 9/24/2024
2.8.5.1 1,023,908 9/14/2024
2.8.5 12,390 9/9/2024
2.8.4.1 70,909 8/28/2024
2.8.4 39,475 7/30/2024
2.8.3.1 849,399 7/13/2024
2.8.3 7,408 7/9/2024
2.8.2.1 76,687 6/28/2024
2.8.2 31,602 6/21/2024
2.7.0.4 298,903 6/12/2024
2.7.0.3 45,422 6/10/2024
2.7.0.2 63,094 5/14/2024
2.7.0.1 641,740 2/22/2024
2.7.0 17,626 1/20/2024
2.6.2.3 994,816 11/28/2023
2.6.2.2 703,583 10/16/2023
2.6.2.1 493,220 9/15/2023
2.6.2 2,634 9/16/2023
2.6.1.3 4,214,118 7/14/2023
2.6.1.2 4,087,507 5/24/2023
2.6.1.1 291,898 5/1/2023
2.6.1 50,136 3/29/2023
2.5.1.2 1,290,766 1/21/2023
2.5.1.1 2,427,955 10/25/2022
2.5.1 1,935,773 8/6/2022
2.5.0 48,666 7/25/2022
2.4.1.2 2,722,187 6/7/2022
2.4.1.1 4,030,251 4/5/2022
2.4.1 182,675 3/1/2022
2.4.0.2 634,277 2/18/2022
2.3.1.3 3,355,894 10/1/2021
2.3.1.2 17,009 10/1/2021
2.3.1.1 4,940,433 7/29/2021
2.3.1 2,923,448 4/2/2021
2.3.0.2-alpha03 160,938 9/15/2020
2.3.0.1 3,139,191 2/23/2021
2.3.0.1-alpha03 96,545 9/3/2020
2.3.0 32,531 2/18/2021
2.3.0-alpha03 7,478 8/18/2020
2.2.0.4 3,388,592 12/15/2020
2.2.0.3 2,572,691 9/24/2020
2.2.0.2 533,224 8/17/2020
2.2.0.1 659,432 6/7/2020
2.2.0 387,400 3/18/2020
2.1.0.1 4,800,819 6/5/2020
2.1.0 4,785,371 2/14/2020
2.1.0-rc3 2,276 2/7/2020
2.1.0-rc1 43,845 1/8/2020
2.1.0-preview06 19,109 11/27/2019
2.1.0-preview03 1,847 11/18/2019
2.0.0.1 73,611 6/7/2020
2.0.0 51,873 3/17/2020
2.0.0-preview02 116,945 8/3/2019
2.0.0-preview01 12,704 7/19/2019