On 12 March 2012 02:45, kahou <[email protected]> wrote:

> Hi,
>
> I would like to pass an object from one activity to another activity.
> Everything looks fine except it can't pass the ArrayList inside that
> object.
>

Some types are not supported by default parcelable implementation IIRC. You
have to write your own implementation and cope with it in writeToParcel() /
parcelable constructor. The simplies approach is may be to simple iterate
over array write each entry to parcel. Of course it depends on what you got
in your ArrayList, if it's something build for by-default-supported types
they you are simply done.

Regards,
Marcin Orlowski

*Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule handy...
*Date In Tray* <http://bit.ly/dateintraypro> - current date at glance...
WebnetMobile on *Facebook <http://webnetmobile.com/fb/>*,
*Google+*<http://bit.ly/webnetmobile-gp>and
*Twitter <http://webnetmobile.com/twitter/>*

-- 
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

Reply via email to