Interface NestedScrollView.OnScrollChangeListener

    • 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.