Bug 59625 - [API 26] Android.App.Assist.AssistStructure.ViewNode.InputType and ViewNode.AutoFillType appear to map to incorrect enum types
Summary: [API 26] Android.App.Assist.AssistStructure.ViewNode.InputType and ViewNode.A...
Status: RESOLVED DUPLICATE of bug 59532
Alias: None
Product: Android
Classification: Xamarin
Component: Bindings ()
Version: 8.0 (15.4)
Hardware: Macintosh Mac OS
: Normal major
Target Milestone: 15.4
Assignee: Atsushi Eno
URL:
Depends on:
Blocks:
 
Reported: 2017-09-20 19:12 UTC by Peter Collins
Modified: 2017-09-20 19:20 UTC (History)
2 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:
RESOLVED DUPLICATE of bug 59532

Description Peter Collins 2017-09-20 19:12:20 UTC
It seems like the generation of the following properties has failed in one way or another, and we're correlating the wrong enum types to the wrong functions. Looking at the assembly browser[0], and android docs[1] it appears that we've associated the return values of InputType and AutofillType incorrectly?

[0]
> public virtual InputTypes AutofillType {
>    [Register ("getAutofillType", "()I", "GetGetAutofillTypeHandler", ApiSince = 26)]
>    get {
>        return (InputTypes)AssistStructure.ViewNode._members.InstanceMethods.InvokeVirtualInt32Method ("getAutofillType.()I", this, null);
>    }
>}
> 
> public virtual AutofillType InputType {
>    [Register ("getInputType", "()I", "GetGetInputTypeHandler", ApiSince = 26)]
>    get {
>        return (AutofillType)AssistStructure.ViewNode._members.InstanceMethods.InvokeVirtualInt32Method ("getInputType.()I", this, null);
>    }
>}
[1] https://developer.android.com/reference/android/app/assist/AssistStructure.ViewNode.html#getAutofillType()
[1] https://developer.android.com/reference/android/app/assist/AssistStructure.ViewNode.html#getInputType()
Comment 1 Peter Collins 2017-09-20 19:20:27 UTC

*** This bug has been marked as a duplicate of bug 59532 ***