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

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

ความคิดเห็น • 27

  • @ajaysinghdewari510
    @ajaysinghdewari510 ปีที่แล้ว +4

    This is the first video of this channel I watched, looking into the quality of the content and the explanation, I believe this content should reach to more people, and more subscriber are deserved.

  • @theimpulson
    @theimpulson 9 หลายเดือนก่อน +2

    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 ปีที่แล้ว +1

    i love ur videos, thank u for all thins content

  • @John-qt6qk
    @John-qt6qk 6 หลายเดือนก่อน +1

    Thanks It was helpful

  • @neerajverma9226
    @neerajverma9226 11 หลายเดือนก่อน +3

    Have you uploaded source code please?

  • @rollebonmarquis7574
    @rollebonmarquis7574 11 หลายเดือนก่อน

    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?

  • @techietoons
    @techietoons ปีที่แล้ว +3

    Hi, I find paging3 a difficult concept. Hoping to find a detailed explanation of the topic..

  • @또치-o6e
    @또치-o6e 7 หลายเดือนก่อน

    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 🤒

  • @pgnrr
    @pgnrr ปีที่แล้ว

    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?

  • @codingCouncil
    @codingCouncil 4 หลายเดือนก่อน

    mate is this also compatible with Room KMP ?

  • @joemeljohnson3558
    @joemeljohnson3558 ปีที่แล้ว

    Good example.👍
    Is it possible to do the same for sticky header and grouped data?

  • @divyanshdxn
    @divyanshdxn 9 หลายเดือนก่อน

    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.

  • @tananyAR
    @tananyAR ปีที่แล้ว

    Greaaaat, rescued me

  • @neerajverma9226
    @neerajverma9226 11 หลายเดือนก่อน +1

    Where can i find your source code?

  • @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...

  • @nicomolon9096
    @nicomolon9096 ปีที่แล้ว

    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  ปีที่แล้ว

      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

  • @JeeteshSurana
    @JeeteshSurana 10 หลายเดือนก่อน +1

    Github link?

  • @amirpirazad1730
    @amirpirazad1730 ปีที่แล้ว +1

    thanks bro

  • @حميدبوعصيده-غ3ر
    @حميدبوعصيده-غ3ر ปีที่แล้ว +1

    Hi Yanneck,
    Thank you for your helpful video
    I get this error when i try to use @Factory
    Unresolved reference: Factory

    • @yanneckreiss
      @yanneckreiss  ปีที่แล้ว +1

      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!

  • @德胜李
    @德胜李 7 หลายเดือนก่อน

    no source code

  • @ChanneltoLearn2
    @ChanneltoLearn2 ปีที่แล้ว +1

    👏

  • @Traffic_Pro
    @Traffic_Pro 2 หลายเดือนก่อน

    I expect you to give more information ( and explanation almost every thing like jumpThreshold) but you don't do it. I hope maybe next time

  • @JohnTrompete
    @JohnTrompete ปีที่แล้ว +1

    i love paging3