Fanilog
07/29/2021, 5:43 PMDisposableEffect
inside a composable used by a LazyList in the case the items are reused?
🙏Chuck Jazdzewski [G]
07/29/2021, 6:22 PMDisposableEffect
for example, will dispose as if no recycling is done at all. When the item is scrolled off and the composition is "recycled", the disposable effects are disposed.Colton Idle
07/29/2021, 6:34 PMLazy*
?
Wasn't Lazy* not really recycling, but just creating things just in time, and throwing them away when they went off the screen?Marko Novakovic
07/29/2021, 7:11 PMAndrey Kulikov
07/29/2021, 7:40 PMAndrey Kulikov
07/29/2021, 7:41 PMAndrey Kulikov
07/29/2021, 7:42 PMLazyListState.layoutInfo
Marko Novakovic
07/29/2021, 7:52 PMDisposableEffect.dispose()
is called only before composable, node, displays new item?Andrey Kulikov
07/29/2021, 7:56 PMAndrey Kulikov
07/29/2021, 7:57 PMFanilog
07/29/2021, 7:58 PMFanilog
07/29/2021, 7:59 PM