UsersPageSource
class UsersPageSource(search: String?, apiService: UsersApiService) : PagingSource<Int, UserModel>
Content copied to clipboard
Paging list without room cache PagingSource
Author
Vitaliy Zarubin
See also
Parameters
search
string query to back-end
apiService
query service module
Constructors
UsersPageSource
Link copied to clipboard
Functions
getRefreshKey
Link copied to clipboard
load
Link copied to clipboard
open suspend override fun load(params: PagingSource.LoadParams<Int>): PagingSource.LoadResult<Int, UserModel>
Content copied to clipboard