Anton Shilov10/04/2022, 8:29 AM
and noticed that factory param in
Composable is called each time an item loses and obtains visibility. It’s not ideal, as creating and destroying heavy Views makes scroll not smooth due to janky frames. Is there any mechanism in Compose that would allow me recycle Views inside LazyVerticalGrid apart from creating a pool of Views and managing it myself?
Zach Klippenstein (he/him) [MOD]10/05/2022, 5:15 PM
? The lazy lists in general try to re-use as much as possible, but it seems possible we might need to do more work to reuse android views as well.
Anton Shilov10/10/2022, 8:28 AM
Zach Klippenstein (he/him) [MOD]10/11/2022, 6:25 PM
rishabhsinghbisht11/14/2022, 5:35 PM