I'm working on an application in which I have a fragment with a title and a recyclerView. This recycler view is divided into sessions (example, pizza, soda), each session has a header and the items that it belongs to. What I want to do on this list is an effect, that when I roll the list the toolbar gets the name of the session that is appearing on the screen and being scrolled at the moment. Something like the Briefieng news app (who has a newer Samsung smartphone knows what app this is). I do not even know the name of this effect. I searched for something on google but did not find it. If anyone can help me, it will be great. Thank you