Skip to content

chkalog/HeaderListView

 
 

Repository files navigation

Quickstart

  1. Import the HeaderListView module in your Android Studio project.
  2. Replace your ListView with HeaderListView
  3. Implement a subclass of SectionAdapter
  4. Set it to your HeaderListView with setAdapter(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
  • See if there are methods to dispatch to mListView

About

Android ListView with sticky headers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published