Bug 59655 - Android.Views.ViewStructure.SetAutofillType should accept enum type 'AutoFillType' over int
Summary: Android.Views.ViewStructure.SetAutofillType should accept enum type 'AutoFill...
Status: VERIFIED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Bindings ()
Version: 8.0 (15.4)
Hardware: Macintosh Mac OS
: Highest blocker
Target Milestone: 15.4
Assignee: Atsushi Eno
URL:
Depends on:
Blocks:
 
Reported: 2017-09-21 17:11 UTC by Peter Collins
Modified: 2017-09-28 15:30 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Peter Collins 2017-09-21 17:11:55 UTC
We could likely make an API improvement to this new setter (Android.Views.ViewStructure.SetAutofillType) by changing the parameter type from int to Android.Views.AutofillType.

> [Register ("setAutofillType", "(I)V", "GetSetAutofillType_IHandler", ApiSince = 26)]
> public abstract void SetAutofillType (int p0);

https://developer.android.com/reference/android/view/ViewStructure.html#setAutofillType(int)
Comment 3 Jonathan Pryor 2017-09-21 21:14:59 UTC
PR: https://github.com/xamarin/xamarin-android/pull/885
Comment 4 Peter Collins 2017-09-22 17:02:13 UTC
Fixed in monodroid/d15-4/4fb6b614d
Comment 5 Peter Collins 2017-09-22 17:08:32 UTC
Verified fixed in monodroid/d15-4/4fb6b614d.
Comment 6 Peter Collins 2017-09-27 17:13:32 UTC
This appears to have regressed in monodroid/d15-4/872694031, presumably by the changes introduced in the fix for #59656.
Comment 7 Luis Aguilera 2017-09-28 12:41:37 UTC
https://github.com/xamarin/xamarin-android/pull/901
Comment 8 Peter Collins 2017-09-28 15:30:15 UTC
Verified fixed in monodroid/d15-4/7a6a056.