applyScrollAvailBounds

fun applyScrollAvailBounds(top: Int = UNSPECIFIED_BOUND, bottom: Int = UNSPECIFIED_BOUND, tag: String = javaClass.simpleName, dispatchFakeScroll: Boolean = true)

Updates top and bottom scroll available bounds via FloatingScrollableManager.

Parameters

top

Top boundary pixel value, or UNSPECIFIED_BOUND to leave unchanged.

bottom

Bottom boundary pixel value, or UNSPECIFIED_BOUND to leave unchanged.

tag

Tag identifying the caller.

dispatchFakeScroll

Whether to dispatch a fake scroll event to refresh scrollbars.