I am trying to set the listenter offset to CollapsingToolbarLayout to animate other objects in a synchronized way while the user scrolls up or down. Does anyone have an idea?
Assuming your toolbar is a direct child of AppBarLayout, you can add AppBarLayout.OnOffsetChangedListener to AppBarLayout.