Passing arraylist of custom object to another activity
When a cell is clicked the object is added to an array. This array needs to be passed into another activity. For testing purposes I have passed the array that has only one object, the DoctorObject. Then in the next activity I get the name as a string using .getName() and display that in a toast. However the toast is empty. Here is some snippets of the code Object: public class DoctorObject implements Parcelable { private List<Object> mChildrenList; public DoctorObject(String name) { Docname = name; } public DoctorObject (Parcel in){ this.DocPic = in.readInt(); this.Docname= in.readString();