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

How to use @Parcelize now that kotlin-android-extensions is being deprecated?

How do I replace annotation class Parcelize from package kotlinx.android.parcel with Parcelize which is not coming from the …

android kotlin annotations parcelable
Putting a Bitmap into a Bundle

I want to pass a String and a Bitmap to a Service using AIDL. The Service implements this AIDL method: …

android bitmap bundle parcelable parcel
How to use writeStringArray() and readStringArray() in a Parcel

I recently came across a very stupid (at least from my point of view) implementation inside Androids Parcel class. Suppose …

java android marshalling parcelable parcel
ClassCastException when trying to do readParcelable on custom object array

I'm trying to implement Parcelable instead of Serializble as it's supposed to be more efficient. From my MainActivity I want …

android arrays classcastexception parcelable
Parcelable inside bundle which is added to Parcel

In my project I have a model which holds basic information about model. For example lets say that the model …

android parcelable
android.os.TransactionTooLargeException thrown randomly

I am seeing quite a few error reports from one of my live apps, the caused is this exception: java.…

android parcelable
Android - Parcel: unable to marshal value

I'm trying to pass data through activities with Parcelable. This is my code : public class Player implements Parcelable { public static …

android parcelable parcel
Can Nulls be passed to parcel?

Is it possible to write null to Parcel when parcelling an object, and get null back again when unparcelling it …

android parcelable parcel
Make a custom java object Parcelable in Android

I am trying to send an object of type MyCustomObject to another activity via an intent. I know, to make …

android parcelable parcel
How to receive Intent in Activity

Honestly I did somesearch about this before asking. how to receive intent from activity to fragmentactivity I am trying to …

android android-intent parcelable android-bundle