turing-tech / MaterialScrollBar

An Android library that brings the Material Design 5.1 sidebar to pre-5.1 devices.
Apache License 2.0
778 stars 126 forks source link

Not Showing Indicator for last Items in RecyclerView #55

Open avtarsingh1122 opened 8 years ago

avtarsingh1122 commented 8 years ago

I am using "DragScrollBar" via XML Method and its working fine. But I am having this one issue that, its not showing character indicator for the last item in RecyclerView. It only shows indicator for the item that comes in top of the screen while scrolling. Is there any way to fix it ?

Sample https://dl2.pushbulletusercontent.com/VrcEsYMKfl0JJjCQJnMN4Ap2fHwTcIr5/Screenshot_20160625-153342.png

Google Now Launcher https://dl2.pushbulletusercontent.com/6iCRivv5PNNpvCuK9JfZdqYkITXQOI5T/Screenshot_20160625-153425.png

In Google Now Launcher, it shows indicator for the last item also

turing-tech commented 8 years ago

The way the library is set up right now it always reads from the first visible item in the recyclerView. If you'd like I can add an option to read it differently (say, from the bottom or from bottom to top as you scroll).

avtarsingh1122 commented 8 years ago

It's good right now as it is, but It would be better if, it could read the other visible items in recyclerView after it has reached the end of recyclerView, so that it can show indicator for the last item also, like in "Google Now Launcher" as shown in this link

https://dl2.pushbulletusercontent.com/6iCRivv5PNNpvCuK9JfZdqYkITXQOI5T/Screenshot_20160625-153425.png

AX-NICOLAS commented 8 years ago

The problem is still there, do you resolve it quickly? Can I request a sweater if I find a solution to this problem?

turing-tech commented 8 years ago

Haha, if you want to make a pull request I'd be much obliged :P