Is it possible to scroll and paste as a title when it reaches the top of the screen in Android?

I am looking for a technique for creating a scrollable list divided into sections. Each section has a section name at the top of the list. When users scroll down (by moving the gesture up), the section name reaches the top of the screen and is inserted at the top of the screen until its section elements disappear from the screen. Is it possible? if so, are there any source code examples?

Thanks in advance..:)

+4
source share
1 answer

I think this is the answer to your question:

https://github.com/emilsjolander/StickyScrollViewItems

+1
source

Source: https://habr.com/ru/post/1385173/


All Articles