on Offset Changed
abstract fun onOffsetChanged(@NonNull appBarLayout: AppBarLayout, @NonNull child: View, offset: Float)
Called each time the AppBarLayout's offset changes. Update the child
with any desired effects.
Parameters
app Bar Layout
The parent AppBarLayout
child
The View to be given any desired effect