Closed vovan888 closed 9 years ago
eta for maven build for the 0.5 milestone?
I'm updating documentation. I plan to release v0.5.0 in 1 or 2 days. In the meantime, you can use 0.4.4-SNAPSHOT published at sonatype snapshot repo :
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
compile 'com.eowise:recyclerview-stickyheaders:0.4.4-SNAPSHOT@aar'
}
Setting .setSticky(false)
doesn't work in my app, neither in the sample app.
The header stay sticked on top and disappear when the first item of the group goes away from the top of the screen. Quite strange...
I would like this feature as well.
By the way, great job with this library!
I've just tested non sticky headers with the samples, and it works... There is the code I have changed :
top = new StickyHeadersBuilder()
.setAdapter(personAdapter)
.setRecyclerView(list)
.setStickyHeadersAdapter(new BigramHeaderAdapter(personDataProvider.getItems()))
.setOnHeaderClickListener(this)
.setSticky(false) \\ Added this line
.build();
Can you provide a non working sample ?
Yes, I tried exactly that code on the sample app, cloned yesterday from github. And something doesn't work.
Here is a gif of the behaviour.
I'm testing on a Galaxy Note 3 with Android 4.4.2
Ok, the commit I pushed few minutes ago fixes this issue too.
Can you try with the latest sources ?
Yes, it fixes the issue! Thank you @acatinon!
push