Bug 24753 - Google Play Services: methods of Android.Gms.Analytics.HitBuilders.HitBuilder return Object
Summary: Google Play Services: methods of Android.Gms.Analytics.HitBuilders.HitBuilder...
Status: RESOLVED DUPLICATE of bug 23193
Alias: None
Product: Components
Classification: Xamarin
Component: Xamarin Components ()
Version: Production (addons.xamarin.com)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jon Dick
URL:
Depends on:
Blocks:
 
Reported: 2014-11-22 09:54 UTC by Dimitar Dobrev
Modified: 2014-12-08 17:12 UTC (History)
1 user (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 23193

Description Dimitar Dobrev 2014-11-22 09:54:30 UTC
In the original they return the HitBuilder type. I understand it's a limitation because of Java generics but it'd be nice to have regardless.
Comment 1 Jon Dick 2014-12-03 13:28:30 UTC
This is a duplicate, the generator has been updated internally to address the circumstances causing this (basically it was happening when nested types had recursive generic parameters).

This will be fixed in the next update to the Google Play services nuget and component.

*** This bug has been marked as a duplicate of bug 23193 ***
Comment 2 Jon Dick 2014-12-08 17:12:17 UTC
Just to be clear, for now this method will return an Object still, not the HitBuilder type, but the method signature will be correct so you can JavaCast<HitBuilder> () on the returned object without error.

Eventually the types will be corrected too.  Thanks.