Interface of android.widget, in AbsListView · AbsListView.java · Android's reference
public interface OnScrollListener
public int SCROLL_STATE_IDLE sourcepublic int SCROLL_STATE_TOUCH_SCROLL sourcepublic int SCROLL_STATE_FLING sourcepublic abstract void onScrollStateChanged(AbsListView view, int scrollState) sourcepublic abstract void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.