Top "Parcelable" questions

parcelable refers to the capability of an object to be converted to a parcel, a container for reading and writing data of various type, using type specific rather than generic serialization

Writing Objects members to Parcels

So far I've been chugging along with Parcelable objects without issue, mainly because all of their members have been types …

java android serialization parcelable parcel
Write enum with String to parcel

I had Parcelable enum like this: public enum Option implements Parcelable { DATA_BASE, TRIPS, BIG_PHOTOS, OLD_PHOTOS, FILTERS_IMAGES, …

java android enums parcelable
ClassNotFoundException when unmarshalling: android.support.v4.view.ViewPager$SavedState

I am seeing the following error in my Android crash reports: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: android.support.v4.…

android android-viewpager parcelable
Android: Parcelable.writeToParcel and Parcelable.Creator.createFromParcel are never called

I'm totally new to posting questions on here, however I have been reading a lot on here for years. Normally …

java android bundle parcelable
How to define parcelable of interface type in .aidl file?

I have an .aidl file that defines a single parcelable of an interface type, let's say parcelable MyInterface; Whereby MyInterface …

android parcelable aidl parcel
Android Store a Parcelable Object in SQLite

I need to store an object content in Sqlite. I was wondering which was the best way to do it …

android sqlite parcelable
Safe Args: use list of parcelables

I am using the Safe Args plugin with the new Navigation components for my Android project. Now I have an …

android parcelable android-architecture-navigation
android.os.TransactionTooLargeException: data parcel size NOUGAT ERROR

I am making an api call using RETROFIT, I got the JSON response from the server which is hardly 30kb …

java android exception parcelable transactiontoolargeexception
Use of Parceler with Kotlin data class with constructor for serialization

Is there a way to use Parceler with Kotlin data classes and constructor for serialization without using @ParcelProperty annotation for …

parcelable kotlin parceler
Abstract class as parcelable

Basicly I have the following structure in my app: It would be straightforward to implement such a structure without the …

java android design-patterns inheritance parcelable