You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ For more customization, please use the methods on [`FastScrollerBuilder`](librar
71
71
-`setViewHelper()` allows providing a custom `ViewHelper` to support more views.
72
72
-`setPopupTextProvider()` allows providing a custom `PopupTextProvider` if your `RecyclerView.Adapter` cannot implement that interface.
73
73
-`setPadding()` allows setting a custom padding for the scrollbar, instead of the padding of the view.
74
-
-`setTrackDrawable()` and `setThumbDrawable()` allow setting custom drawables for the scrollbar. The `android:state_pressed` state will be updated for them so you can use a selector.
74
+
-`setTrackDrawable()` and `setThumbDrawable()` allow setting custom drawables for the scrollbar. The `android:state_pressed` state will be updated for them so you can use a selector. The track drawable needs to have an intrinsic width and the thumb drawable needs to have an intrinsic size, in order to allow proper touch event handling.
75
75
-`setPopupStyle()` allows customizing the popup view with a lambda that will receive the view.
76
76
-`setAnimationHelper()` allows providing a custom `AnimationHelper` to use an alternative scrollbar animation.
77
77
-`disableScrollbarAutoHide()` allows disabling the auto hide animation for scrollbar. This implies using a `DefaultAnimationHelper`.
0 commit comments