HideBottomViewOnScrollBehavior.OnScrollStateChangedListener

public static interface HideBottomViewOnScrollBehavior.OnScrollStateChangedListener

com.google.android.material.behavior.HideBottomViewOnScrollBehavior.OnScrollStateChangedListener


Interface definition for a listener to be notified when the bottom view scroll state changes.

Summary

Public methods

abstract void onStateChanged(View bottomView, int newState)

Called when the bottom view changes its scrolled state.

Public methods

onStateChanged

public abstract void onStateChanged (View bottomView, 
                int newState)

Called when the bottom view changes its scrolled state.

Parameters
bottomView View: The bottom view.

newState int: The new state. This will be one of HideBottomViewOnScrollBehavior.STATE_SCROLLED_UP or HideBottomViewOnScrollBehavior.STATE_SCROLLED_DOWN.