October 22, 2024
Chicago 12, Melborne City, USA
Android

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()

Read More
Android

Failed to resolve some libraries after gradle update

After upgrading Gradle from 7.4 to 8.5, these libraries can’t be resolved. It works fine on 7.4. What could be causing the issue?" From distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip To distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip You need to sign in to view this answers

Read More
Android

RevenueCatSubscriptionPaywallWidgetState.build

I’m trying to integrate Revenuecat service for a subscription (work on flutterflow). I’ve already reviewed all the tutorials several times, changed different options, but it still gives an error. I’ve been trying to solve the problem for a whole week I’m running it on an Android smartphone via a cable from a PC. HELP PLEASE!.

Read More