Package com.cheetahdigital.uikit.widget
Interface NestedScrollView.OnScrollChangeListener
-
- Enclosing class:
- NestedScrollView
public static interface NestedScrollView.OnScrollChangeListener
Interface definition for a callback to be invoked when the scroll X or Y positions of a view change.This version of the interface works on all versions of Android, back to API v4.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onScrollChange(NestedScrollView v, int scrollX, int scrollY, int oldScrollX, int oldScrollY)
Called when the scroll position of a view changes.
-
-
-
Method Detail
-
onScrollChange
void onScrollChange(NestedScrollView v, int scrollX, int scrollY, int oldScrollX, int oldScrollY)
Called when the scroll position of a view changes.- Parameters:
v
- The view whose scroll position has changed.scrollX
- Current horizontal scroll origin.scrollY
- Current vertical scroll origin.oldScrollX
- Previous horizontal scroll origin.oldScrollY
- Previous vertical scroll origin.
-
-