nglauber / JetpackComposePlayground

41 stars 5 forks source link

Sticky Header for the reversed list #4

Open novachevskyi opened 1 year ago

novachevskyi commented 1 year ago

I'm trying to implement the chat-like list where items are reversed and being shown from bottom to top. I need to show sticky header for each section grouped by the date. However, if you will set reverseLayout = true for the LazyColumn then all headers will be reversed as well becoming sticky footers. Wish to know if there is any easy way to reverse the list and not reverse the actual sticky header. Besides that, I'm using pagination and Flow.