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

Android ArrayList<MyObject> pass as parcelable

Code now modified to reflect the accepted solution. This now serves as a working example of how to pass a …

android parameters parcelable
How write Java.util.Map into parcel in a smart way?

I have a Generic Map of Strings (Key, Value) and this field is part of a Bean which I need …

android bundle parcelable
Write a sub class of Parcelable to another Parcel

I have a class that implements Parcelable interface: class A implements Parcelable { } I have another class B that contains an …

android parcelable
How to fix Unmarshalling unknown type code XXX at offset YYY in Android?

I'm having app crash on resume because of Unmarshalling exception. I've checked all the Serializables have constructor with no parameters …

android serialization marshalling unmarshalling parcelable
Parcelable protocol requires a Parcelable.Creator object called CREATOR (I do have CREATOR)

I am trying to pass Parcelable data from one intent to another and this is the error I am getting: 08…

java android eclipse parcelable
Android Parcelable and Serializable

So i know it is recommended to use Parcelable instead of Serializable in android, because it is faster. My question …

android serialization android-intent parcelable parcel
How to read and write Enum into parcel on Android?

Here is my model class: public enum Action { RETRY, SETTINGS } private int imageId; private String description; private String actionName; private …

android enums parcelable parcel
Put Object as intent for next activity

Is it possible to to put an object of type Object into an intent as a Extra? I have a …

android object android-intent bundle parcelable
Android Parcelable - Write and read ArrayList< IA > when IA is a interface

I have a interface IA and class B and C that implement them. Both B and C implement Parcelable as …

java android interface arraylist parcelable
How to serialize null value when using Parcelable interface

regarding my code example down, what shold I do if one Locable's variables is null? In example, now if l.…

android nullpointerexception parcelable