Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - Creating listview with floating headers

Targeting 2.3 - 4.2 I would like to implement the following effect (see image), basically a group list where next item header pushes the last one.

What would be the best approach?

enter image description here

like image 971
Shlomi Schwartz Avatar asked May 21 '13 15:05

Shlomi Schwartz


1 Answers

you will have to use a 3rd party library to do this as this is not built into the SDK

StickyListHeaders does exactly what you want

like image 134
tyczj Avatar answered Sep 20 '22 23:09

tyczj