Skip to content
Permalink
Browse files

Tweak Discover to show an extra row of items

  • Loading branch information...
chrisbanes committed Apr 9, 2019
1 parent 360b494 commit 06f54e2e50816c86af06d8fb4b29b9f991542907
@@ -35,7 +35,7 @@ class PopularShowsRepository @Inject constructor(
) {
fun observeForPaging(): DataSource.Factory<Int, PopularEntryWithShow> = localStore.observeForPaging()

fun observeForFlowable(): Flowable<List<PopularEntryWithShow>> = localStore.observeForFlowable(10, 0)
fun observeForFlowable(): Flowable<List<PopularEntryWithShow>> = localStore.observeForFlowable(15, 0)

suspend fun loadNextPage() {
val lastPage = localStore.getLastPage()
@@ -34,7 +34,7 @@ class TrendingShowsRepository @Inject constructor(
) {
fun observeForPaging() = localStore.observeForPaging()

fun observeForFlowable() = localStore.observeForFlowable(10, 0)
fun observeForFlowable() = localStore.observeForFlowable(15, 0)

suspend fun loadNextPage() {
val lastPage = localStore.getLastPage()

0 comments on commit 06f54e2

Please sign in to comment.
You can’t perform that action at this time.