nolanlawson / SuperSaiyanScrollView

Super-fast, super-lightweight sectioned lists for Android
http://wp.me/p1t8Ca-Mq
80 stars 19 forks source link

Pinned headers and right margin #4

Open mundoff opened 10 years ago

mundoff commented 10 years ago

The idea is to have "pinned headers" like the Contacts app in Kit Kat (Android 4.4.2):

screen1

screen2

and a little right margin with fast scrollbars, in Kit Kat, this scrollbar is always visible.

This webpage says how to do the right margin and provides a link where you can view the pinned headers in the source of the Contacts app:

http://www.tristanwaddington.com/2012/09/implementing-the-android-contact-applications-listview-layout/

Thank you very much.

PeterMinin commented 10 years ago

I don't think this library needs pinned headers. There are plenty implementations of them out there, you can find some of them here: https://play.google.com/store/apps/details?id=com.desarrollodroide.repos. I was on the contrary happy to find this light-weight library (thank you, @nolanlawson) because I don't want to include unused code into my app.

nolanlawson commented 10 years ago

@PeterMinin thanks for the link; that app is awesome (and contains two of my demos!). I agree that this library should stay nice and light, but if we can add this feature as an optional setting without too much extra code, I'd be all for it.