-
Notifications
You must be signed in to change notification settings - Fork 1
/
readme.txt
55 lines (36 loc) · 2.11 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Xamarin AndroidX Migration
==========================
If you are looking for the source code to the _Xamarin AndroidX bindings_,
it is available in the "AndroidX" branch:
https://github.com/xamarin/AndroidSupportComponents/tree/AndroidX
The Migration package helps apps which are transitioning to AndroidX but haven't
yet updated their own source code to the new AndroidX API's, or still depend on
third party libraries which have not been updated to use the new AndroidX API's.
Add the Xamarin.AndroidX.Migration NuGet package to your app
------------------------------------------------------------
You should add the `Xamarin.AndroidX.Migration` NuGet package to your Xamarin
Android application project and any Xamarin.Android library projects it
references.
Keep the Xamarin.Android.Support.* NuGet packages
-------------------------------------------------
You will need to keep your existing references to Xamarin.Android.Support.*
NuGet packages as any remaining usage of the old Android Support API's will
require this for compiling before the migration build step does its job. The
Android Support libraries will not be bundled into your apk.
Add references to the correct AndroidX NuGet packages
-----------------------------------------------------
The migration package contains a validation step which helps ensure you have
references to all of the AndroidX NuGet packages that the Android Support
library NuGet packages you reference in your app map to.
You will see a build error generated telling you which packages are missing
which you need to add.
When can I remove the Migration package?
----------------------------------------
As soon as all of your own source code, layout files, proguard configurations,
and manifest files are converted over to using the new AndroidX API's, and all
of the libraries you depend on have done the same, you can safely remove the
AndroidX Migration NuGet package along with all of the old Android Support
library NuGet packages.
Current Limitations or known issues
-----------------------------------
- Android Designer may become unusable after adding AndroidX Migration package