The Paging library helps you load and display pages of data from a larger dataset from local storage or over network.The latest stable release is Paging 3.0.1
Questions tagged [android-paging-3]
324 questions
0
votes
1 answer
Issue with Paging3 and Rxjava in MVP
In my project I want to use paging 3 .
before adding paging into my project , I could get the data from server and show into my RecyclerView
but after adding paging I faced with this issue :
in my Paging Source class :
class RepoPagingSource @Inject…

Rey
- 5
- 4
0
votes
1 answer
Scroll all screen with a lazy column and paging library inside
I'm new to Jetpack Compose and I'm not quite sure how to do what I need. In the screen below, I want to scroll the whole screen and not just the list at the bottom and when the scroll reaches the end of the list below, it still applies the paging…

R0ck
- 409
- 1
- 15
0
votes
1 answer
Android Paging3 - refresh from a ViewModel with Compose
I'm using the Paging 3 library with Jetpack Compose and have just implemented swipe to dismiss on some paged data (using the Material library's SwipeToDismiss composable).
Once a swipe action has completed, I call a method in my ViewModel to send an…

Euan T
- 2,041
- 3
- 20
- 28
0
votes
1 answer
Error 401 Retrofit when using Paging 3 library
I was making a call using Retrofit before I tried to use Paging 3 library and I was getting code 200 and all working good.Then, I tried to implement Paging 3 libray and using Retrofit with it and I don't know why, I'm getting error 401. I tried some…

RaceyT
- 135
- 1
- 8
0
votes
1 answer
insertSeparators not displaying separator above item
I'm using Paging 3 and trying to use the insertSeparators method to "group" my API response by score, an Int.
Something like this, inserting the separators with the value above the items with the same value.
Or like this:
Separator 32000
…

RaceyT
- 135
- 1
- 8
0
votes
1 answer
paging data is lost on navigation in jetpack compose
I have 2 screens: ScreenA() and ScreenB()
@Composable
fun ScreenA(
val viewModel: ScreenAViewModel = hiltViewModel()
){
val data = remember{
viewModel.pagingData()
}.collectAsLazyPagingItems()
LazyColumn(){
…

Diken Mhrz
- 327
- 2
- 14
0
votes
1 answer
Jetpack compose paginated list UI updation on item Click
How to make UI changes in a paginated list with jetpack compose.
Use case
I have a paginated list which has data name(string) and like(boolean). If i click on the particular item in the list, i need to place a like button in the UI. But the image is…

Akhil Krishnan
- 45
- 5
0
votes
0 answers
How to remove post in PagingDataAdapter android
Android Paging library 3 (3.1.1)
I have implemented the paging3 library for Shortlisting posts. I am showing the shortlisted post in recycler view with paging, and it's working fine.
Now I want to remove a post from the list.
I looked at this issue…

Rahul Bh
- 123
- 2
- 15
0
votes
0 answers
How to parse two data list from one PagingData Source in Android Kotlin?
This is My ViewModle Class
@HiltViewModel
class MainViewModel @Inject constructor(
private val movieRepository: MovieRepository,
private val favMovieRepository: FavMovieRepository
) : ViewModel()…

Ashish Gautam
- 303
- 2
- 15
0
votes
1 answer
Jetpack Paging 3.0 with Airbnb/epoxy only load the first page
I am trying to use Jetpack Paging 3.0 to get all the characters in Rick and Morty API using retrofit and display it using Airbnb/epoxy. But I only get the first page I've spent several hours trying to look for a solution but no luck.
Link to…

Siege Elevate
- 65
- 5
0
votes
1 answer
At the very 1st scroll it is laggy while using paging library 3
I have created a simple sample where I used paging3 jetpack library in it : https://github.com/alirezaeiii/Paging3-Sample
At the very 1st scroll it is laggy, and I can not figure out why. Would you please help out?
private const val…

Ali
- 9,800
- 19
- 72
- 152
0
votes
0 answers
Pagin v3 - loses state when clicking on list item and come back - jetpack compose
I am displaying a paginated list using paging library in a lazy column in a bottom nav bar with 4 tabs say HomeScreen.
When its item is clicked it will to next activity with normal intent . But when i press back key and come back to the composable…

Harish Padmanabh
- 307
- 4
- 17
0
votes
2 answers
How to combine two data-flows in Android app architecture?
I was building a chat application in Android in accordance with the app architecture guide. I have stored the user's data in Room Database in sync with Firebase Cloud Firestore, and user's active-status in Firebase Realtime Database.
In Datasource…

Sourav Kannantha B
- 2,860
- 1
- 11
- 35
0
votes
1 answer
Should the index passed to notifyItemChanged consider placeholder items?
PagingDataAdapter from Paging3 library internally manages two semantically different lists. adapter.snapshot() returns a ItemSnapshotList which includes placeholder elements. adapter.snapshot().items return a List which excludes placeholder…

Sourav Kannantha B
- 2,860
- 1
- 11
- 35
0
votes
1 answer
How to map PagingSource to another object
I implement paging 3 follow this codelab. codelab
But when i create UserPagingRepository, i have problem that data class is not map. In Room DataBase, i use UserLocal otherhand i use UserRemote for data get from api. How can I convert data from data…

thaovd1712
- 120
- 1
- 1
- 9