updateTitleAlphaForCurrentOffset

Evaluates current AppBarLayout collapse offset and updates title alpha accordingly.

Parameters

appbarLayout

Attached AppBarLayout.

layout

Whether this update is invoked from a layout pass.