Great <@UBJF87EBY> :zap: That list items is gett...
# compose
t
Great @Dominaezzz That list items is getting empty when activity is recreated. So I refactored it to rendering the ListItem composable only when the list is not empty Here is the working code
Copy code
Surface(color = MaterialTheme.colors.background) {
    val items = pagedItems.collectAsLazyPagingItems()
    if (items.itemCount > 0) {
        ListOfItems(items)
    }
}