Paging3 with Jetpack Compose & Android Room: Optimize Your Android App with Pagination!

  Рет қаралды 7,023

Yanneck Reiß

Yanneck Reiß

Жыл бұрын

Learn how to implement Paging3 in your Android app using Jetpack Compose and Android Room! In this tutorial, we delve into the benefits of paging, especially for apps dealing with large datasets, and step-by-step guide on integrating Paging3 with the Jetpack Compose LazyColumn and Android Room. If you've been looking to boost your app's performance and improve user experience through effective pagination, then this video is a must-watch for you. Don't forget to like, share, and subscribe for more such useful content!
Medium article:
/ how-to-implement-pagin...
Support me on Medium:
/ membership
Follow me on:
Twitter: / yanneckreiss
Instagram: / yanneckreiss
#AndroidDev #Paging3 #JetpackCompose #AndroidRoom #AndroidAppDevelopment #MobileAppDevelopment #OpenAI #TechTakeaways

Пікірлер: 23
@John-qt6qk
@John-qt6qk Ай бұрын
Thanks It was helpful
@theimpulson
@theimpulson 4 ай бұрын
I have been pretty confused about the items API in compose and found almost no one explaining that we need to pass size and other values instead of list. Thanks a lot.
@erfan9925
@erfan9925 Жыл бұрын
i love ur videos, thank u for all thins content
@neerajverma9226
@neerajverma9226 6 ай бұрын
Have you uploaded source code please?
@amirpirazad1730
@amirpirazad1730 Жыл бұрын
thanks bro
@user-uh9mm1ec5j
@user-uh9mm1ec5j 2 ай бұрын
thanks for the great explanation!! helped alot! 🤩🤩 Can you make a video about using paging library with retrofit, too? I'm super confused about how I should use the remoteMediator 🤒
@joemeljohnson3558
@joemeljohnson3558 Жыл бұрын
Good example.👍 Is it possible to do the same for sticky header and grouped data?
@pgnrr
@pgnrr 8 ай бұрын
hey love it, im trying to load items from room but when i update an item, it scrolls to the top, any reasons this is happening?
@rollebonmarquis7574
@rollebonmarquis7574 6 ай бұрын
Thanks for the video. I have some dilemma, isn't it a bad practice for the repo to expose Entities. I thought that the repository should map the data to domain models?
@divyanshdxn
@divyanshdxn 3 ай бұрын
I couldn't find any way to listen to db changes with Paging. Let's say I have a shopping list item app and a with a text box at bottom the list. Now, whenever I add new item to list, I want my existing list to get updated.
@johnshepard1267
@johnshepard1267 Жыл бұрын
Literally was implementing pagination in my project a couple days ago, also started with Paging 3 lib but then realized it's not worth because of all this inconvenient boilerplate code you have to write and also very little flexibility for changing the state of the fetched items. So I decided to find some code template on how to implement pagination without any library and use that. Yes, it will not be as handy for Room but well, I don't think I need this caching mechanism to be as fancy, so...
@techietoons
@techietoons Жыл бұрын
Hi, I find paging3 a difficult concept. Hoping to find a detailed explanation of the topic..
@ChanneltoLearn2
@ChanneltoLearn2 8 ай бұрын
👏
@JohnTrompete
@JohnTrompete Жыл бұрын
i love paging3
@neerajverma9226
@neerajverma9226 6 ай бұрын
Where can i find your source code?
@nicomolon9096
@nicomolon9096 8 ай бұрын
I have a problem trigger the recomposition once the items loaded on the screen then the data in the database column changes. In my understanding if the column in the database table change it trigger the recomposition and the item in the list change
@yanneckreiss
@yanneckreiss 8 ай бұрын
While this is true for observing a query via Flow for example, unfortunately it is not the case with Paging3 where you solely receive snapshots of your data
@user-cd9ru9ec7w
@user-cd9ru9ec7w 9 ай бұрын
Hi Yanneck, Thank you for your helpful video I get this error when i try to use @Factory Unresolved reference: Factory
@yanneckreiss
@yanneckreiss 9 ай бұрын
Hey, I am glad that my video was helpful 🙂Regarding the unresolved reference, the @Factory annotation comes from the "Koin Annotations" library which is an annotation processor for the "Koin" dependency injection framework. If you are not using Koin, you can for example manually instantiate the respective class or use another dependency injection framework like Hilt. However, I recommend you checking out the Koin documentation for a setup guide. Hope that helps!
@JeeteshSurana
@JeeteshSurana 5 ай бұрын
Github link?
@user-fy6gi6ob5r
@user-fy6gi6ob5r Ай бұрын
no source code
@tananyGeek
@tananyGeek 10 ай бұрын
Greaaaat, rescued me
Install and use ShadCn in 2024 Tutorial | The best component library
10:26
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 8 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 43 МЛН
小蚂蚁被感动了!火影忍者 #佐助 #家庭
00:54
火影忍者一家
Рет қаралды 36 МЛН
Flutter Tutorial For Beginners in 13 Hours
13:06:23
Rivaan Ranawat
Рет қаралды 150 М.
Gestures in Jetpack Compose
31:33
Android Developers
Рет қаралды 22 М.
Pagination with Jetpack Compose
23:15
CodingWithMitch
Рет қаралды 15 М.
Kotlin Multiplatform vs Flutter: Which should we use?
4:42
Kei Fujikawa
Рет қаралды 18 М.
23 - NAVIGATION - Android Jetpack Compose
19:25
MkrDeveloper
Рет қаралды 10 М.
JPEG is Dying - And that's a bad thing
8:09
2kliksphilip
Рет қаралды 13 М.
Custom layouts and graphics in Compose
20:25
Android Developers
Рет қаралды 51 М.
Should You Use Compose State or StateFlow in Your ViewModels?
13:59
Philipp Lackner
Рет қаралды 74 М.