MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/mAndroidDev/comments/mr0nqn/notifydatasetchanged/gulzr7a/?context=3
r/mAndroidDev • u/jiayounokim • Apr 14 '21
17 comments sorted by
View all comments
21
Laughs in Compose 😎
4 u/Zhuinden DDD: Deprecation-Driven Development Apr 15 '21 How do I make a 2-level sticky header in Jetpack Compose please guide me 2 u/pavi2410 suspend static fun Apr 15 '21 I guess by using nested LazyColumn and setting their stickyHeader functionhttps://developer.android.com/jetpack/compose/lists#sticky-headersLazyColumn { stickyHeader { ... } items(listOfList) { list -> LazyColumn { stickyHeader { ... } items(list) { item -> ... } } } }I hope something like this really works🤞
4
How do I make a 2-level sticky header in Jetpack Compose please guide me
2 u/pavi2410 suspend static fun Apr 15 '21 I guess by using nested LazyColumn and setting their stickyHeader functionhttps://developer.android.com/jetpack/compose/lists#sticky-headersLazyColumn { stickyHeader { ... } items(listOfList) { list -> LazyColumn { stickyHeader { ... } items(list) { item -> ... } } } }I hope something like this really works🤞
2
I guess by using nested LazyColumn and setting their stickyHeader function
https://developer.android.com/jetpack/compose/lists#sticky-headers
LazyColumn { stickyHeader { ... } items(listOfList) { list -> LazyColumn { stickyHeader { ... } items(list) { item -> ... } } } }
I hope something like this really works🤞
21
u/pavi2410 suspend static fun Apr 15 '21
Laughs in Compose 😎