Hi all,
Today I met a problem, I need to pass a ArrayList<MyClass> from an
activity to another. I dont know what the Intent exactly do when I use
putExtra to pass in an ArrayList<MyClass> object.
I guess MyClass need to implement Parcelable interface, so I just did
it. But still, it does not work.
Maybe I need to create a Bundle and then use Bundle's
putParcelableArrayList
method to put my ArrayList<MyClass> object in, and then pass this bundle as
parameter of putExtra to the intent.
So crazy! I am lazy, I just want to pass an ArrayList<MyClass> object
simply, is there a simple way??
Any suggestion would be greatly appreciated!
kerl.d.w
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en