Write Parcelable for ArrayList<String []> in android?
- by sugan.s
I just created model with String array and array list of string array.Like this
public class LookUpModel implements Parcelable
{
private String [] lookup_header;
private ArrayList<String []> loookup_values;
public void writeToParcel(Parcel dest, int flags) {
dest.writeStringArray(getLookup_header());
};
}
I have implemented parcelbale then write for String [] but how to do for the ArrayList<String []> and that values need to pass to another activity.Thanks in advance.