RecyclerView-FastScroller
RecyclerView-FastScroller copied to clipboard
A fully customizable Fast Scroller for the RecyclerView in Android, written in Kotlin
Support programmatic enabling/disabling of fastscroller
At the moment, this can only be done through the XML (fastScrollEnabled), but often we want to enable/disable according to, for example, how many items there are in the list....
java.lang.IllegalStateException: Observer com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller$adapterDataObserver$1$1@4a87042 was not registered. at android.database.Observable.unregisterObserver(Observable.java:69) at androidx.recyclerview.widget.RecyclerView$Adapter.unregisterAdapterDataObserver(RecyclerView.java:7537) at com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller.detachFastScrollerFromRecyclerView(Unknown Source:31) at com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller.onDetachedFromWindow(Unknown Source:0) at android.view.View.dispatchDetachedFromWindow(View.java:20534) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3942) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3934) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3934) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3934) at android.view.ViewGroup.removeViewInternal(ViewGroup.java:5560) at android.view.ViewGroup.removeViewAt(ViewGroup.java:5507)...
Crash - lateinit property recyclerView has not been initialized
kotlin.UninitializedPropertyAccessException: lateinit property recyclerView has not been initialized at com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller.access$getRecyclerView$p(Unknown Source:6) at com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller$alignTrackAndHandle$5.run(Unknown Source:111) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7656) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Issues with "Changes sample app to use view pager 2"
I've experienced various issues in the sample app, after the above commit, which is on the development branch as of 26 Nov 2020. I put them all here in the...
Add option to disable touch on the invisible track
It would be nice to have some kind of option to disable touch on the invisible track Sometimes users touch it accidentally without knowing that it would actually move to...
Scroll handle is not positionned properly when scrolling the recycling view
Hello and thank you for this project. I have noticed an issue when the list contains a small number of elements. It can be reproduced by only keeping the first...
Add option to disable track
Fixes #26
This PR demonstrates that the fast scroller does work with a GridLayoutManager. Instead of adding a fragment with a grid layout, I've added a button to toggle list and grid...
China's population has multiple numbers
When I scroll to China and while I am inside China's box, it shows a lot of different numbers of population when there should only be one number referring to...
So in "Advanced" where the countries are listed by population as you can see from my screen recording from the moment that it reaches the "Marshall Islands" the coloured box...