mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 22:17:03 +05:30
parent
015c9929b3
commit
3cc74f9bcf
2 changed files with 5 additions and 1 deletions
|
@ -45,7 +45,7 @@ constructor(
|
|||
}
|
||||
private val newestPostsPager =
|
||||
Pager(PagingConfig(pageSize = PAGE_SIZE), initialKey = STARTING_PAGE_INDEX) {
|
||||
pagingSourceFactory.create(api::getHottestPosts)
|
||||
pagingSourceFactory.create(api::getNewestPosts)
|
||||
}
|
||||
|
||||
val hottestPosts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue