Infinite Scrolling using CollectionView In .NET MAUI / Xamarin Forms

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ค. 2022
  • This video about implementing Infinite Scrolling using CollectionView In .NET MAUI /Xamarin Forms.

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

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

    As always a very educational video. I learn a lot by watching your work. Thank you very much and keep uploading .MAUI videos ;-)

  • @brauliojaureguy2065
    @brauliojaureguy2065 8 หลายเดือนก่อน

    Te amo locooooo.
    Love you mannn, you save my university project!

  • @luisjjjj
    @luisjjjj ปีที่แล้ว +2

    Great video, thank you, your videos are great because you always include MVVM. One question, I am currently trying to implement that but the RemainingItemsCommand is firing even withouth scrolling at all the collectionview and with RemainingItemsThreshold set to 0. Did you have this issue to?

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

    Great coding and explanations. Thank you so much :) Can you make a data caching video please ?

  • @kenxu1497
    @kenxu1497 5 หลายเดือนก่อน

    Nice example, I have one question is, if I have main page to let the user input some parameters, then navigate to your AnimalListView, in the constracture send the parameters to the service, how can I implement it. (Still use the dependency Injection)

  • @mouradaissani8957
    @mouradaissani8957 2 ปีที่แล้ว

    thnx man

  • @bryanbeeblebrox8237
    @bryanbeeblebrox8237 ปีที่แล้ว +2

    Hi Pragnesh. Does your infinite scrolling app work if the number of items in the collection is less than the _pagesize? In my case, if I have less than _pagesize items, it goes into infinite loop. It just keeps calling the GetAnimalList() method over and over and never stops.

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

      HI, I have tested in android and iOS, it's working fine for me, when I set _pagesize to 5 it's calling 2 time GetAnimalList() method. then on scroll it calling same method.
      for iOS Platform GetAnimalList() only call on scrolled.

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

      @@ProgrammingWithPragnesh Thank you, but what if you set _pagesize to 10, and GetAnimalList() returns only 2 animals in total? Does it still work OK? With mine, I get an endless loop.

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

    thank you so much for all lessons . you are the best in maui in youtube . i want ask if i have 2000 records from json api it is better load in background and scroll 10 by 10 or make request to api to take 10 records each scroll ?

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

      HI, You can fetch all data in one api call & then just load 10 records on scrolling. Or you can load 100 records on api call and just scroll 10 , 10 records, and then again call api and load 100 records..

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

    Why isn't there a sample project code for the Maui example?

  • @user-od5lm1ne4y
    @user-od5lm1ne4y ปีที่แล้ว

    after adding collectionview i am getting Input string was not in a correct format

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

    It s wonderful, it was exactly I wanted. Is there source code available for this tutorial?

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

    friend if possible please come up with videos for double TAP to see the detail of any item in the Collection view

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

    Does it work on Maui? On Windows?

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

    i am gaining a lot knowledge from your videos, i stuck in back button, something in MAINBAR, appreciate if you help me on this

  • @Romahotmetytky
    @Romahotmetytky 10 หลายเดือนก่อน

    first of all, this is not infinite scrolling you know why ? cause the bloody data is finite !!! so rename this video to something like paginated scroll or something, infinite scroll is when you can scroll forever e.g when you have 20 items but they loop around. This title is misleading.