Tlaster
11/15/2020, 3:54 AMitems
with LazyColumn
does not restore the scroll position when navigate back using navigation compose. Does anyone have the same issue?Apex
11/15/2020, 6:51 AMTlaster
11/15/2020, 7:01 AMjim
11/16/2020, 2:33 AMTlaster
11/16/2020, 5:42 AMfirstVisibleItemIndex
into shared preferences and restore by initialFirstVisibleItemIndex
.collectAsLazyPagingItems
will return different instance eveytime I navigate back.LazyColumn
when LazyPagingItems<T>.itemCount == 0
, and the scroll position is restored right nowMantas Varnagiris
02/01/2021, 7:45 PM