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
{{ message }}
This repository was archived by the owner on Dec 22, 2023. It is now read-only.
if (abs(touchRelativeOffset) > handleImageView.height) touchRelativeOffset =
338
-
0f
339
-
340
330
// set the engaged flag to prevent the handle from scrolling again as the OnScrolled event in the ScrollListener is called even for programmatic scrolls
341
331
isEngaged =true
342
332
@@ -346,12 +336,17 @@ class RecyclerViewFastScroller @JvmOverloads constructor(
346
336
popupTextView.animateVisibility()
347
337
}
348
338
}
339
+
349
340
//
350
341
// ------------- Common methods to Move and Down events -------------------
351
342
// calculate relative Y position internal to the view, from motion absolute px touch value and absolute start point of the view
352
343
//
344
+
345
+
// subtract the handle height offset
346
+
val handleHeightOffset = handleImageView.height /2
0 commit comments