ReposRemoteMediator

class ReposRemoteMediator(client: AppHttpClient, dataService: AppDataService, storage: CrossStorage) : RemoteMediator<Int, RepoModel>

Types

Companion
Link copied to clipboard
object Companion

Functions

initialize
Link copied to clipboard
open suspend override fun initialize(): RemoteMediator.InitializeAction
load
Link copied to clipboard
open suspend override fun load(loadType: LoadType, state: PagingState<Int, RepoModel>): RemoteMediator.MediatorResult

Properties

client
Link copied to clipboard
private val client: AppHttpClient
dataService
Link copied to clipboard
private val dataService: AppDataService
storage
Link copied to clipboard
private val storage: CrossStorage