onAppBarOffsetChanged

open override fun onAppBarOffsetChanged(appBarLayout: AppBarLayout, verticalOffset: Int)

Reacts to AppBarLayout scroll offset changes to update top/bottom fading edges and title alpha.

Parameters

appBarLayout

Attached AppBarLayout.

verticalOffset

Current vertical offset.