Key _id expected Parcelable but value was java.lang.Long. while passing Parceable object between Activity
问题 I want to pass an object of my custom class to another activity. I came to know that Parceable is way and WAY faster than Serializable. But doing so i get the exception Key _id expected Parceable but value was java.lang.Long. The default value <null> was returned. I don't know what i am doing wrong with it. I followed these tutorials: Passing custom objects between android activities And the one very popular StackOverFlow answer The code of my object that implements Parcelable is as follows: