I am not sure how to go about doing this. This is my requirements for an Activity
:
- Header
ListView
of 10 items- Header
ListsView
of 10 items
The ListViews
are coming from two different data sources and may have two different row layouts. So I am thinking I need to make two Custom adapter
classes (two getView()'s
, etc).
Here's the kicker, I want to be able to pull-to-refresh the whole list and update both ListViews
. If that is too much, I'll settle with a refresh button (that Google seems to prefer anyway); currently I use com.handmark.pulltorefresh.library.PullToRefreshListView
Is this possible? If so, what is best steps to make this work?