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

Sometimes the bar is empty #23

Closed MFlisar closed 6 years ago

MFlisar commented 7 years ago

I have an app that is constantly running and showing/hiding it's view on demand (a sidebar like app).

What I see is that rarely the fast scroller shows up empty after some time (after many days, hardly reproduceable).

Any ideas what could cause this? I have no idea yet, did check the fast scrollers code but did not find anything that could cause this..

omarmakeen commented 6 years ago

I've the same issue @MFlisar did you find any solution?

MFlisar commented 6 years ago

No. Didn't investigate it further either as it's really rare and I did not find anything.

MFlisar commented 6 years ago

I did not see this issue for probably 3/4 year now using my own fork... Created a pull request now with small adjustments, it may have been an issue with the handler hiding the view...

myinnos commented 6 years ago

Hello @MFlisar Is this pull request solved above issue ?

MFlisar commented 6 years ago

It's so long ago so I'm not 100% sure. But my experience with my own fork are that this issue never happened again and checking the difference makes me assume that it had to do with the handler. Using the views handler makes sure, that the runnable is executed correctly...

Not 100% sure anymore, but I'm using your view in a sidebar app that is running all the time on my phone and on my users phone and this issue is gone for a very long time for me

myinnos commented 6 years ago

@MFlisar Thanks for your contribution i just merged this pull request.

Thank you 👍