Bug 16652 - Parcel.WriteTypedList method requires a System.Collections.IList instead a System.Collections.Generics.IList <T>
Summary: Parcel.WriteTypedList method requires a System.Collections.IList instead a Sy...
Alias: None
Product: Android
Classification: Xamarin
Component: Bindings ()
Version: 4.10.1
Hardware: PC Windows
: Low normal
Target Milestone: ---
Assignee: Atsushi Eno
Depends on:
Reported: 2013-12-06 15:39 UTC by Horácio J. C. Filho
Modified: 2014-01-09 04:15 UTC (History)
1 user (show)

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:

Description Horácio J. C. Filho 2013-12-06 15:39:20 UTC
Parcel.WriteTypedList method requires a System.Collections.IList instead a System.Collections.Generics.IList<T>.

In Android SDK, Parcel.writeTypedList method requires a List<T> but there is no match on Xamarin.Android. Is there a workaround for this? Thanks a lot :D
Comment 1 Horácio J. C. Filho 2013-12-13 13:35:38 UTC
Does exist any workaround for this?
Comment 2 Jonathan Pryor 2013-12-16 15:52:53 UTC
Do you need a workaround? Is the IList version not usable?
Comment 3 Horácio J. C. Filho 2013-12-16 17:30:53 UTC
Unfortunately, the IList is not usable :/ :/, I want to use a typed list instead. Thanks for help me :D
Comment 4 Atsushi Eno 2014-01-09 04:15:04 UTC
Unfortunately this is how our API binds Java, which does not really have "generics" at ABI level.

(Even if they had binary-level generics, we cannot introduce API breakage without really major upgrade such as "Xamarin.Android 5.0").