Tolriq
10/07/2021, 7:01 AMcollectAsLazyPagingItems
the state is collected in a launched effect so even if the flow is cached and available if the collect is started in a composable that is recreated there's at least a frame running with no content and the position is reset to 0. In that case I can collect earlier in a scope that is not removed as the data is cached. But what if I wanted to actually not keep the data, reload it then restore scroll. Is there some official doc / pattern for that ?Albert Chang
10/07/2021, 7:10 AMTolriq
10/07/2021, 7:12 AMAlbert Chang
10/07/2021, 7:15 AMTolriq
10/07/2021, 7:26 AMTolriq
10/07/2021, 7:27 AM