Tuesday, 20 August 2013

Parcelable android add empty char to the String field value

Parcelable android add empty char to the String field value

I need to implement some mechanism to pass data between Activities. First,
I made my classes Serializable and everything worked fine. Then I had a
task to pass ArrayList of my custom objects. Serializable do not maintain
such feature in android and I decided to implement Parcelable. But when I
create one object of my class, it adds empry char to name field of the
object. Somebody faced with similar?

No comments:

Post a Comment