Xamarin bindings for Android Support libraries - For AndroidX see https://github.com/xamarin/AndroidX
Перейти к файлу
Matthew Leibowitz bf934a11e9
Update azure-pipelines.yml
2019-11-20 01:06:08 +02: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 local mac green for update biometric and concurrent-futures 2019-11-12 18:13:14 +01:00
source MediaRouter fix and Work common correct package version 2019-11-19 16:50:23 +01: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
Directory.Build.props re-added accidentally removed 2019-11-17 10:41:44 +01: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 Update azure-pipelines.yml 2019-11-20 01:06:08 +02:00
build.cake Xamarin.AndroidX.MigrationManager as dependency 2019-11-16 08:20:04 +01:00
config.json MediaRouter fix and Work common correct package version 2019-11-19 16:50:23 +01:00
nuget-diff.cake nuget-diff cake script 2019-11-12 18:13:53 +01: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