myinnos / AlphabetIndex-Fast-Scroll-RecyclerView

A Powerful AlphabetIndex FastScroller Library for Android's RecyclerView!
https://myinnos.github.io/AlphabetIndex-Fast-Scroll-RecyclerView/
Apache License 2.0
603 stars 114 forks source link

Listen for adapter data changes #3

Closed jonas-app closed 7 years ago

jonas-app commented 7 years ago

Dear @myinnos, thanks for your work. This lib fits almost all my needs. My only additional requirement is to update the sections if the data changes. With my first Commit (https://github.com/myinnos/AlphabetIndex-Fast-Scroll-RecyclerView/commit/1ad4558ac0231813373f7d8b9cb0eb68291ebc2a) I add this functionality. The second Commit (https://github.com/myinnos/AlphabetIndex-Fast-Scroll-RecyclerView/commit/7a7db2e1b6c0cbef0808159f0989430da196c2d3) modifies the example to show the new feature. If you remove all 'A'-items (by clicking them) the sections get updated (section 'A' gets removed).

myinnos commented 7 years ago

Awesome thanks for your support 👍

Merging your two commits and releasing new version now! if you got time please update example on read me as well

Thanks 💯

jonas-app commented 7 years ago

Thanks for the fast merge. :clap: I'll update the read me as soon as I find some time.

myinnos commented 7 years ago

👍