android - How to put a List in intent -


i have list in 1 of activities , need pass next activity.

private list<item> selecteddata;   

i tried putting in intent :

intent.putextra("selecteddata", selecteddata);   

but not working. can done?

you have instantiate list concrete type first. list interface.

if implement parcelable interface in object can use putparcelablearraylistextra() method add intent.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -