Why is the Paging3 PagingState not saving items?
I’m doing a pokedex example app in compose but the pagination works only if i close and reopen the application. override suspend fun load( loadType: LoadType, state: PagingState<Int, PokemonEntity> ): MediatorResult { val page = when(loadType) { LoadType.REFRESH -> 0 LoadType.PREPEND -> return MediatorResult.Success( endOfPaginationReached = true ) LoadType.APPEND -> { val lastItem = state.lastItemOrNull()