onScrollStateChanged
Called when the scroll state of this RecyclerView changes. Subclasses should use this method to respond to state changes instead of an explicit listener.
This method will always be invoked before listeners, but after the LayoutManager responds to the scroll state change.
Parameters
state
the new scroll state, one of SCROLL_STATE_IDLE, SCROLL_STATE_DRAGGING or SCROLL_STATE_SETTLING