AndroidFastScroll
AndroidFastScroll copied to clipboard
Fast scroll for Android RecyclerView and more
Fixes #11 - [X] Tests pass - [X] Appropriate changes to README are included in PR
Fatal Exception: java.lang.ArithmeticException: divide by zero at me.zhanghai.android.fastscroll.FastScroller.scrollToThumbOffset(FastScroller.java:380) at me.zhanghai.android.fastscroll.FastScroller.onTouchEvent(FastScroller.java:325) at me.zhanghai.android.fastscroll.FastScroller.$r8$lambda$rTQcs5gqTpHxYd9ar1i9VccEjvo(FastScroller.java) at me.zhanghai.android.fastscroll.FastScroller$$InternalSyntheticLambda$0$1818e04b76f0a8b5d0fca4db696fe741088ef0340e11119ee7db05a1ef50bbbd$3.test(FastScroller.java:4) at me.zhanghai.android.fastscroll.RecyclerViewHelper$3.onTouchEvent(RecyclerViewHelper.java:78) at androidx.recyclerview.widget.RecyclerView.dispatchToOnItemTouchListeners(RecyclerView.java:3259) at androidx.recyclerview.widget.RecyclerView.onTouchEvent(RecyclerView.java:3421) at android.view.View.dispatchTouchEvent(View.java:15076) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3917) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3581) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3923) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3597)...
在 Android 10 及 Android 11 上会闪退,闪退日志很奇怪,说是“JNI DETECTED ERROR IN APPLICATION ... java.lang.IllegalStateException: Unable to create layer for View ... ”,分析很久也找不出原因,最后去掉FastScroll的调用才不闪退。 使用这个方案在 Android 10 及 Android 11 上是正常的:https://github.com/Mixiaoxiao/FastScroll-Everywhere
## Actual Behavior I implemented in my app a fullscreen RecyclerView with `getPopupText` support. It looks like this: The problem is, the position provided by `getPopupText` is the first _visible_...
It will be jumping between items when fast scrolling though.
Hello, I would like to request the addition of a method in the `FastScroller` class that allows developers to determine if the fast scroll is currently being displayed. This feature...
## Expected Behavior There's no conflict. ## Actual Behavior When scrolling, item dragging will also be triggered. [a.webm](https://user-images.githubusercontent.com/49330580/209440064-27196aa6-f42b-489e-8a6d-0c3c3cad4ce5.webm) ## Steps to Reproduce the Problem 1. Set up the FastScroll tool...
scroll 很容易误触, 主要是因为在右边的任意地方拖动都可能让scroll 拖动, 有什么办法只让用户点击bar 的位置才能上下拖动 ?
We discovered a Configuration Compatibility bug in your library through our repair tool. This issue may cause some patterns to display incorrectly across different API levels. Therefore, we recommend changing ...