I am using GraphQL with my Android Project. I got into trouble when passing results(objects of the auto-generated class by Apollo in the build folder) to another activity by extras.
How can I make those auto-generated class parcelable?
Generated classes are not supposed to be edited since the changes would be ignored once the class is regenerated.
You have to create a model class that is parcelable and store the object in that model class, and then you can pass that object.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With