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 (69)

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.2.1 16,013 8/16/2025
2.9.2 5,599 7/29/2025
2.9.1 49,196 6/23/2025
2.9.0 2,835 6/17/2025
2.8.7.4 116,557 6/6/2025
2.8.7.3 339,487 4/30/2025
2.8.7.2 924,309 1/22/2025
2.8.7.1 291,035 11/8/2024
2.8.7 4,044 11/6/2024
2.8.6 65,685 9/24/2024
2.8.5.1 957,587 9/14/2024
2.8.5 11,309 9/9/2024
2.8.4.1 69,503 8/28/2024
2.8.4 37,930 7/30/2024
2.8.3.1 802,065 7/13/2024
2.8.3 7,192 7/9/2024
2.8.2.1 72,905 6/28/2024
2.8.2 28,302 6/21/2024
2.7.0.4 282,928 6/12/2024
2.7.0.3 42,480 6/10/2024
2.7.0.2 61,172 5/14/2024
2.7.0.1 627,100 2/22/2024
2.7.0 17,083 1/20/2024
2.6.2.3 950,605 11/28/2023
2.6.2.2 676,484 10/16/2023
2.6.2.1 468,963 9/15/2023
2.6.2 2,549 9/16/2023
2.6.1.3 4,041,932 7/14/2023
2.6.1.2 3,947,908 5/24/2023
2.6.1.1 287,353 5/1/2023
2.6.1 49,406 3/29/2023
2.5.1.2 1,267,993 1/21/2023
2.5.1.1 2,414,924 10/25/2022
2.5.1 1,930,396 8/6/2022
2.5.0 48,587 7/25/2022
2.4.1.2 2,676,807 6/7/2022
2.4.1.1 3,964,524 4/5/2022
2.4.1 181,794 3/1/2022
2.4.0.2 628,703 2/18/2022
2.3.1.3 3,337,760 10/1/2021
2.3.1.2 16,746 10/1/2021
2.3.1.1 4,915,777 7/29/2021
2.3.1 2,915,606 4/2/2021
2.3.0.2-alpha03 160,717 9/15/2020
2.3.0.1 3,133,087 2/23/2021
2.3.0.1-alpha03 96,261 9/3/2020
2.3.0 32,448 2/18/2021
2.3.0-alpha03 7,432 8/18/2020
2.2.0.4 3,381,742 12/15/2020
2.2.0.3 2,565,945 9/24/2020
2.2.0.2 532,864 8/17/2020
2.2.0.1 658,655 6/7/2020
2.2.0 386,535 3/18/2020
2.1.0.1 4,792,844 6/5/2020
2.1.0 4,773,506 2/14/2020
2.1.0-rc3 2,223 2/7/2020
2.1.0-rc1 43,780 1/8/2020
2.1.0-preview06 19,057 11/27/2019
2.1.0-preview03 1,797 11/18/2019
2.0.0.1 73,390 6/7/2020
2.0.0 51,545 3/17/2020
2.0.0-preview02 116,812 8/3/2019
2.0.0-preview01 12,634 7/19/2019