Tom Truyen
10/19/2023, 9:17 AMLayout
composable just like the "WeekSchedule" app (BasicSchedule.kt
) does (with some minor adjustments).
What I have noticed is that when I have a lot of Events, the scroll seems to get laggy. This lagg is mostly visible in Debug mode (I know that Jetpack Compose optimises a lot in release). Though that got me wondering...
Is there a way I can manually recycle/lazily render placeables in a Layout
dependening on if they are even visible on the screen or not?SubcomposeLayout
but I am not sure how to use it at this point in timeOleksandr Balan
10/19/2023, 3:12 PMLazyLayout
to recycle items, you could check it for an inspiration:
https://github.com/oleksandrbalan/minaboxTom Truyen
10/19/2023, 4:02 PMLazyLayout
(without your library though)
I did however give you a star as it is an amazing library imo