CompressChildScrollEffect

A class which handles updating an AppBarLayout child, if marked with the app:layout_scrollEffectcompress, at each step in the AppBarLayout's offset animation.

Only a single AppBarLayout child should be given a compress effect.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun onOffsetChanged(@NonNull appBarLayout: AppBarLayout, @NonNull child: View, offset: Float)
Called each time the AppBarLayout's offset changes.