This repository has been archived by the owner on Mar 8, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ChoiceMode field types to match expected ones. (#12)
Context: dotnet/android#1170 Context: dotnet/android#1183 Context: dotnet/android@a301764 Xamarin.Android 8.1 (d15-5) provides an `Android.Widget.ChoiceMode` enum type in API-10+. `ChoiceMode` contains the `android.widget.ListView.CHOICE_MODE_*` constants from API-10, which were moved to `android.widget.AbsListView` in API-15. Xamarin.Android 8.2 (d15-6) inadvertently *removed* the `Android.Widget.ChoiceMode` enum, because [xamarin-android/a301764a][xa-a301764a] altered the mapping of the `CHOICE_MODE` constants so that they were only bound into the `Android.Widget.ChoiceMode` enum for API-15+. [xa-a301764a]: dotnet/android@a301764 [xamarin-android PR #1183][xa-1183] fixes `ChoiceMode` generation so that it applies to API-10+, and in the process alters the API tracked within xamarin-android-api-compatibility. [xa-1183]: dotnet/android#1183 Add the `ChoiceMode` API changes so that [PR #1183][xa-1183] passes the API compatibility tests.
- Loading branch information