AppBarLayout.OnOffsetChangedListener

public static interface AppBarLayout.OnOffsetChangedListener
implements BaseOnOffsetChangedListener<AppBarLayout>

com.google.android.material.appbar.AppBarLayout.OnOffsetChangedListener


Interface definition for a callback to be invoked when an AppBarLayout's vertical offset changes.

Summary

Public methods

abstract void onOffsetChanged(AppBarLayout appBarLayout, int verticalOffset)

Inherited methods

Public methods

onOffsetChanged

public abstract void onOffsetChanged (AppBarLayout appBarLayout, 
                int verticalOffset)

Parameters
appBarLayout AppBarLayout

verticalOffset int