Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way the section headers can be made sticky? #25

Open
jinxk opened this issue Mar 30, 2015 · 1 comment
Open

Is there a way the section headers can be made sticky? #25

jinxk opened this issue Mar 30, 2015 · 1 comment

Comments

@jinxk
Copy link

jinxk commented Mar 30, 2015

First - I absolutely love your library. The implementation is the simplest I have ever seen! my adapter implementation with decent enough comments just manages to scrape 90 lines! Thank you!

My question - would it be possible to make the section header stick to the top till that sections list has been scrolled through?
here is how I think the behavior could be -

if isHeaderTop? 
      stick //call header on top HeaderA
else 
     don't stick
if isHeaderStickHeaderA?
     remove headerStick property from A
@MinceMan
Copy link
Collaborator

Glad you like it. 3.0 is going to change a bunch of stuff but I'll see if I cannot build out a default scroll listener or something for this.

MinceMan added a commit that referenced this issue Jun 13, 2016
Added sticky header with scroll listeners. #25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants