From 6874e3f320bc263072214c9ae1527ae186e0d51d Mon Sep 17 00:00:00 2001 From: Atsushi Eno Date: Thu, 18 Jan 2018 01:17:10 +0900 Subject: [PATCH] Fix ChoiceMode field types to match expected ones. (#12) Context: https://github.com/xamarin/xamarin-android/issues/1170 Context: https://github.com/xamarin/xamarin-android/pull/1183 Context: https://github.com/xamarin/xamarin-android/commit/a301764a8866850bd4b7923e8354a596a2d598b1 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]: https://github.com/xamarin/xamarin-android/commit/a301764a8866850bd4b7923e8354a596a2d598b1 [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]: https://github.com/xamarin/xamarin-android/pull/1183 Add the `ChoiceMode` API changes so that [PR #1183][xa-1183] passes the API compatibility tests. --- reference/Mono.Android.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/Mono.Android.xml b/reference/Mono.Android.xml index 96bc170..6c2ae2f 100644 --- a/reference/Mono.Android.xml +++ b/reference/Mono.Android.xml @@ -776331,7 +776331,7 @@ - + @@ -776340,7 +776340,7 @@ - + @@ -776349,7 +776349,7 @@ - + @@ -1107278,4 +1107278,4 @@ - \ No newline at end of file +