Write Object In Parcel In Writetoparcel Method
hi mate i have a class that must to implement Parcelable to allow to put this new type in a bundle My class have 2 attribute private int pid; private Object data; i have to impleme
Solution 1:
Take a look at the documentation of Parcelable. It shows an example for adding and retreiving primitive values.
If you want to add Objects to a Parcelable the Object you want to add must implement either Parcelable or Serializable.
Post a Comment for "Write Object In Parcel In Writetoparcel Method"