AppBarLayout.LiftOnScrollListener

public static interface AppBarLayout.LiftOnScrollListener

com.google.android.material.appbar.AppBarLayout.LiftOnScrollListener


Definition for a callback to be invoked when the lift on scroll elevation and background color change.

Summary

Public methods

abstract void onUpdate(float elevation, int backgroundColor)

Public methods

onUpdate

public abstract void onUpdate (float elevation, 
                int backgroundColor)

Parameters
elevation float

backgroundColor int