-
public interface OnListScrollListenerListener for the scroll events on the list.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumOnListScrollListener.ScrollDirectionIndicates the direction in which the scroll action is performed.
public enumOnListScrollListener.ScrollStateIndicates the state of the scroll.
-
Method Summary
Modifier and Type Method Description abstract UnitonListScrolled(OnListScrollListener.ScrollDirection scrollDirection, Integer distance)Callback for whenever the list has been scrolled. abstract UnitonListScrollStateChanged(OnListScrollListener.ScrollState scrollState)Callback for whenever the scroll state of the list changes. -
-
Method Detail
-
onListScrolled
abstract Unit onListScrolled(OnListScrollListener.ScrollDirection scrollDirection, Integer distance)
Callback for whenever the list has been scrolled.
- Parameters:
scrollDirection- The direction in which the list has been scrolled.distance- The distance in pixels that the list has been scrolled.
-
onListScrollStateChanged
abstract Unit onListScrollStateChanged(OnListScrollListener.ScrollState scrollState)
Callback for whenever the scroll state of the list changes.
- Parameters:
scrollState- The scroll state of the list.
-
-
-
-