You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
I have an error Ambiguous method call in a generated Activity with a field annotated @Extra which implements both Serializable and Parcelable.
Indeed, the IntentBuilder_ call the method Intent.putExtra which accepts both (String, Serializable) and (String, Parcelable).
Casting the object to Parcelable is sufficient.
Hi,
I have an error
Ambiguous method callin a generatedActivitywith a field annotated@Extrawhich implements bothSerializableandParcelable.Indeed, the
IntentBuilder_call the methodIntent.putExtrawhich accepts both(String, Serializable)and(String, Parcelable).Casting the object to
Parcelableis sufficient.My classes :
The generated code is :
And it should be :
I will implement this and submit a PR soon.