FollowersViewModel

class FollowersViewModel @Inject constructor(client: AppHttpClient, dataService: AppDataService, storage: CrossStorage) : ViewModel

ViewModel for screen FollowersScreen

Constructors

FollowersViewModel
Link copied to clipboard
@Inject
fun FollowersViewModel(client: AppHttpClient, dataService: AppDataService, storage: CrossStorage)

Properties

client
Link copied to clipboard
private val client: AppHttpClient
dataService
Link copied to clipboard
private val dataService: AppDataService
listFollowers
Link copied to clipboard
val listFollowers: Flow<PagingData<FollowerModel>>

Paging remote mediator FollowerModel

storage
Link copied to clipboard
private val storage: CrossStorage