https://kotlinlang.org logo
#compose-web
Title
# compose-web
j

Joost Klitsie

12/06/2021, 11:37 AM
Hi people! I wanted to show the fun I had over this weekend 🙂 virtual list, aka LazyColumn 🙂 Sometimes a bit jumpy after a big scroll jump, but otherwise functions as how it should (and it usually also recovers). Takes all sizes and composables as list items (as you can see there are 2 different list items, 1 of which has a varying height). It is a list of 100_000 elements, You can see on the right how many are rendered at a time. (also if I don't record my screen it is a lot smoother). For a beginner like me, compose is a very useful tool! I am hoping to use it in the future 🙂
👏 6
metal 3
h

hfhbd

12/06/2021, 12:36 PM
Nice! Could you share its code? Or even better, submit a PR to compose-jb?
j

Joost Klitsie

12/06/2021, 1:00 PM
I am very unsure JB wants this code in the repo 😅
I'll try to make a project and clean it up a little
3 Views