Scrolling effect with recyclerView

Asked

Viewed 90 times

1

I am working on an application where 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 belong to it. What I want to do in this list is an effect, that when I scroll the list Toolbar gets the name of the session that is appearing on the screen and being rolled at the moment. Something similar to the Briefieng news app ( who has a latest Samsung smartphone knows what app this is). I don’t even know what the name of this effect is. I googled something but I didn’t find it. If anyone can help me, it will be great. Thank you

  • Take a look in this library

  • Thank you, I looked in the library

  • It helped me to know the name of the effect and to research more on how to implement it. I did it without using a lib, to understand how it works. Now the only problem I found in the implementation is that when I scroll the header page disappears before the other header reaches the top. Thank you for your help, and if you can help me with this problem, I’d appreciate it :)

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.