Closed warahiko closed 1 year ago
TimeLane composable is recomposed by every scroll, so we should reduce recomposition.
List
ImmutableList
LazyListItemInfo#offset
LazyListItemInfo#index
No change in appearance
I have no idea how we can use drawBehind() to solve this problem. If you have it, please give me advice.
drawBehind()
I'm sorry for being late 🙏
👀
Issue
Overview (Required)
TimeLane composable is recomposed by every scroll, so we should reduce recomposition.
List
toImmutableList
LazyListItemInfo#offset
is changed by every scroll, but it is used only for changing offset of Box composable, so we can pass it by lambda functionLazyListItemInfo#index
is not changed by every scrollLinks
Screenshot
No change in appearance
Note
I have no idea how we can use
drawBehind()
to solve this problem. If you have it, please give me advice.I'm sorry for being late 🙏