ursus
07/21/2024, 1:26 AMnestedScroll
to observe scroll offset and do the collapsing toolbar pattern,
the toolbar offset calculation is offset = newOffset.coerceIn(-toolbarHeight, 0)
Which is logically correct, however I dont get the overscroll stretch effect.
Is there a way to account for the stretch effect?