Package dev.arunkumar.compass.paging
Types
RealmTiledDataSource
Link copied to clipboard
class RealmTiledDataSource<T : RealmModel, R : Any> : TiledDataSource<R>
Content copied to clipboard
Paging DataSource implementation that uses RealmQuery produced by realmQueryBuilder to fetch matching results and transform to transform the source RealmModel to any custom type represented by
R
.TiledDataSource
Link copied to clipboard
Functions
asPagingItems
Link copied to clipboard
fun <T : RealmModel> RealmQueryBuilder<T>.asPagingItems(tag: String = "PagingItemsExecutor", pagingConfig: PagingConfig = DefaultPagingConfig): Flow<PagingData<T>>
Content copied to clipboard
fun <T : RealmModel, R : Any> RealmQueryBuilder<T>.asPagingItems(tag: String = "PagingItemsExecutor", pagingConfig: PagingConfig = DefaultPagingConfig, transform: RealmModelTransform<T, R>): Flow<PagingData<R>>
Content copied to clipboard
Properties
DefaultPagingConfig
Link copied to clipboard