Xamarin bindings for Android Support libraries - For AndroidX see https://github.com/xamarin/AndroidX
Перейти к файлу
Jonathan Dick 131baa5ce5
Use the nuget version suffix
2019-08-09 12:53:13 -04:00
.github Updates for .NET Foundation. 2016-04-26 22:49:24 -04:00
icons Add a smaller image for the nugets 2019-07-19 16:39:18 +02:00
samples Enable proguard for BuildAll 2019-03-06 14:06:10 -05:00
source We got to wait for .net core 3... 2019-08-08 06:18:56 +02:00
tests Remove wear from tests for now 2017-10-31 11:35:43 -04:00
util Update the build script to use the new dotnet tools 2019-08-08 03:46:36 +02:00
.gitignore Added a tool to merge the assemblies and generate the map 2019-03-08 18:08:16 +02:00
External-Dependency-Info.txt Various fixes for old support name 2019-03-06 21:16:30 -05:00
README.md Update README.md 2019-07-17 13:42:33 -04:00
THIRD-PARTY-NOTICES Update THIRD-PARTY-NOTICES 2019-07-19 10:45:39 -04:00
azure-pipelines.yml Use cake.tool instead of the bootstrapper 2019-08-08 16:55:13 +02:00
build.cake oh, the shame. 2019-08-08 06:56:45 +02:00
config.json Use the nuget version suffix 2019-08-09 12:53:13 -04:00
global.json Update the build script to use the new dotnet tools 2019-08-08 03:46:36 +02:00
nuget.cake Moved the fat script from the yaml into cake 2019-03-02 20:33:36 +02:00

README.md

AndroidX for Xamarin.Android

Xamarin creates and maintains Xamarin.Android bindings for the Google Android Support Libraries and AndroidX.

Building

Building nuget packages from source requires calling the cake script:

.\build.ps1 --target=packages

Android Support -> AndroidX Roadmap

With the release of AndroidX, Android Support is now considered deprecated and will no longer receive new feature updates. We are committed to helping our developers bring their applications into this new world with minimal effort.

Goal

Our goal is to allow developers to take an existing application using Android Support libraries, and reference, build, and run against AndroidX libraries without any code changes.

Phases

1. Xamarin Bindings / NuGet Packages for AndroidX

Provide bindings to all of the new AndroidX packages for Xamarin developers. If you want to migrate your app's code manually to use the new AndroidX API's you can reference these packages. Keep in mind that all of your app's dependencies must also be compiled against AndroidX bindings to use these.

2. Tooling for Building apps and dependencies with AndroidX

Implement build tasks in the AndroidX packages to allow your application to utilize AndroidX without any code changes:

  • Dependencies (.NET as well as binding libraries with java and resources in them) will be migrated to the new API's and cached during your first build
  • Your app's compiled code will be migrated to the new API's before the application is packaged
  • Your app's resource and manifest files will be migrated at build time before the application is packaged

3. Optional One Time Migration Tool

If your app's code (C#, Resources, Manifest, etc) has not been migrated from Android Support, your build times will be slightly longer.

We will provide a migration assistant to help convert your C# code, xml resources, and AndroidManifest to use the new AndroidX API's which you can optionally use to perform a one time migration of your project.

Migration Tools / Tasks Source Code

The source code for the Xamarin.AndroidX.Migration package and other migration tools and utilities are available in: xamarin/XamarinAndroidXMigration

License

The license for this repository is specified in LICENSE.md

The externals build task downloads some external dependencies from Google which are licensed under and subject to the terms of Android Software Development Kit License Agreement

Contribution Guidelines

The Contribution Guidelines for this repository are listed in CONTRIBUTING.md

.NET Foundation

This project is part of the .NET Foundation