I have an object ListTripResponse that I want to show in my Listview.
In this Object are multiple ArrayList to other Objects like
(NoteObject, MapObject, ActivityObject,..)
I make this ListTripResponse object with the response I get from the
call to the TripIt API.
Now when there is no NoteObject the ArrayList is null off course and
when there is 1 or more NoteObjects in my response it makes an
ArrayList of NoteObjects. So every Object (NoteObject, has a datetime
object in it with a date and time.)
What I am trying to make is the following:
http://jkontherun.files.wordpress.com/2009/04/tripit-iphone.jpg
So I want to show the right objects under the right date. I am using
the SectionedAdapter from Mark Murphy for this. So the section header
is the date i get from the object and the adapter for every section
are the right objects for this date.
How can I do this the best?
Make a HashMap with a String an ListTripResponse object (and the
String is then the date)?
Can someone advise me?
Thank you,
Wouter Goossens
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment