setScrollEffect

open fun setScrollEffect(scrollEffect: Int)

Set the scroll effect to be applied when the AppBarLayout's offset changes.

Parameters

scrollEffect

An AppBarLayoutChildScrollEffect implementation. If SCROLL_EFFECT_NONE is passed, the scroll effect will be cleared and no effect will be applied.