python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Android Paging 3 is not loading next page
After migrating from custom paging implementation to Jetpack Paging 3 library,
data is not loading as expected.
The first page is handled correctly according to the PagingConfig of Pager:
internal fun...
Nico
Votes: 0
Answers: 1
How to handle result of paging data in compose and implement header and footer load states?
In View system there are official examples how to implement loading states and adding header and footer item to the list:
https://developer.android.com/topic/libraries/architecture/paging/load-state
h...
user924
Votes: 0
Answers: 1
Android Paging Library 3 - Getting error "Attempt to collect twice from pageEventFlow..." when navigating back to a fragment
In my fragment I'm observing changes to a MutableLiveData stored in a viewModel.
Fragment:
viewModel.list.observe(viewLifecycleOwner) {adapter.submitData(lifecycle, it)}
This code is inside onCreateV...
Petermonteer
Votes: 0
Answers: 1
Android paging library without using page number but with explicit next set of ids
Android paging library's PagingSource uses key like
PagingSource<Int, Item>
where the first parameter is the page number. What if the server, instead of using a page number, returns (for each r...
rysv
Votes: 0
Answers: 1