What is AndroidX? Based on the Android documentation: “AndroidX is a major improvement to the original Android Support Library, which is no longer maintained. AndroidX packages fully replace the Support Library by providing feature parity and new libraries.” Learn how you can use AndroidX today with Telerik UI for Xamarin.
The Telerik components for Xamarin.Android are now migrated to AndroidX—a new version of the support library, following the release of Android 9.0 (API level 28). You can now use all the latest and greatest development in AndroidX along with our controls.
With the R3 2020 release of Telerik UI for Xamarin, the Telerik Xamarin.Android components have been migrated to use AndroidX packages. The controls serve as foundation for some of our Xamarin.Forms controls. This change allows you to use all the latest development in Android extensions (AndroidX) along with our controls.
The controls in the Telerik UI for Xamarin suite require specific AndroidX packages references inside the Android project to render correctly on Android.
Here is a list of the required AndroidX packages:
IMPORTANT! If the app targets Android9, Xamarin.AndroidX.Migration nuget package should be of version 18.104.22.168.
If you are using the Telerik UI for Xamarin RichTextEditor control, you will need to add a reference to the Mono.Android.Export.dll.
If your current project uses a Telerik UI for Xamarin version before the R3 2020 release, and you want to use the AndroidX package, then you should update the Telerik UI for Xamarin version.
Visual Studio will install the Telerik.UI.for.Xamarin NuGet package and its dependencies:
Clean and Rebuild the Solution, then Run the project on Android.
Discover the power of Telerik UI for Xamarin with several fully functional, real-world Xamarin.Forms application examples.
Examples source code can be checked in the Telerik Xamarin.Forms Samples GitHub repo.
Dobrinka Yordanova is a Technical Support Engineer, part of the Progress Telerik UI for Xamarin & UWP team in Sofia, Bulgaria. She holds a master's degree in Computer Systems and Technologies. Her passion is traveling around the world and exploring multicultural environments. In her spare time she likes making sushi, playing console games and hanging out with friends.
Subscribe to be the first to get our expert-written articles and tutorials for developers!