on Offset Changed
Called when the AppBarLayout's layout offset has been changed. This allows child views to implement custom behavior based on the offset (for instance pinning a view at a certain y value).
Parameters
app Bar Layout
the AppBarLayout which offset has changed
vertical Offset
the vertical offset for the parent AppBarLayout, in px