FollowersRemoteMediator

class FollowersRemoteMediator(client: AppHttpClient, dataService: AppDataService, storage: CrossStorage) : RemoteMediator<Int, FollowerModel>

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, FollowerModel>): 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