So, I have built a UI in Compose for Android. It i...
# compose
t
So, I have built a UI in Compose for Android. It is a collection of vertical scrolling composables in a horizontal scrolling lazyrow. Think a schedule component. Two items: 1. The horizontal scroll performance is very bad. I will also try a non-Lazy column. But I am curious if people have pointers on how to profile this? 2. I would like to scroll all vertical components together. Anybody have an example of how to scroll columns together?
a
Hi@tylerwilson 🙂 For number 1, I was wondering how many items are you showing in a normal list. Does it also involve network, or showing photo?
s
Check out this article series, maybe you'll find something of use https://danielrampelt.com/blog/jetpack-compose-custom-schedule-layout-part-1/
t
Each list is contains about 32-40 items, and there can be between 5 and 20 of these arranged horizontally. Not huge, but not small.