> 2. Use a generic Parcelable class type, in which case the marshalling code
> will inspect the class type, included that in the marshalled data, and use
> that to re-construct it on the other side.
>

I don't understand this.

My program deals with Condition objects, which can be put in a list to
specify a series of search conditions. There are specific classes like
StringCondition, TimeCondition, LocationCondition, etc. They are all
subclasses of Condition, but they all have their specific sets of
fields.

A list of those has to be passed to a service. Now how would I use a
generic Parcelable class for this? To be honest I don't have much
experience with generic classes.

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