Quickstart
- Import the project in Eclipse then add it to the build path of your project.
- Replace your
ListView
withHeaderListView
- Implement a subclass of
SectionAdapter
- Set it to your
HeaderListView
withsetAdapter(SectionAdapter adapter)
HeaderListView
HeaderListView
is a list view with sections and with a cool iOS-like "sticky" section headers. Notice that HeaderListView
is not a subclass of Android's ListView
but uses composition. Hence, you will need to call getListView()
to access the underlying ListView
.
Future work
- Handle listViews with fast scroll
- Pass ListView XML attributes to the mListView
- See if there are methods to dispatch to mListView