Виталий Перятин
05/16/2022, 9:08 AMsetContent {}
, the leaks disappear, but I can't work with Compose without this function.
Can you tell me what is causing the leaks? How can they be fixed?
All useful info attached to the post.collectAsLazyPagingItems
is leakingLeland Richardson [G]
05/17/2022, 11:57 AMColton Idle
05/25/2022, 1:37 PMВиталий Перятин
05/25/2022, 1:43 PMCompose
leaks because of multi activity approach, not because of some specific Compose constructions. For example, such simple construction as Column with Text and Image leaks in multi-activity app. But there is no leaks in single-activity approach with Jetpack Compose Navigation.
I've rewritten my app on Jetpack Compose Navigation, and my app has no memory leaks now :)py
05/25/2022, 3:44 PM