Flutter Infinite ListView Pagination #1 (/w the BLoC Pattern)

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 33

  • @robovirtuoso1354
    @robovirtuoso1354 3 года назад +1

    If Part 1 of the tutorial has finished without even starting to cover the main topic of "infinite scrolling", then it's obvious that the sample app is over-engineered because of that BLoC thing (to be fair, the title says BLoC). A simpler data model with Provider package would have been enough. But having said that, this is a good tutorial to grasp the concept, even now in 2021.

  • @mrpakravian
    @mrpakravian 5 лет назад +2

    Man
    You are the best
    Effective method of explaining

  • @aytunch
    @aytunch 5 лет назад

    Does using built_value classes help a lot more than the naked bloc that you implemented in previous videos? What is it's strength in terms of bloc?

  • @aytunch
    @aytunch 5 лет назад +1

    Also I am struggling in implementing a bottomnavigationbar using bloc and maintaining the tab's corresponding pages' states. How would we go about this? I am sure a lot of people are struggling too. For instance I have a map in one page and I change the location by dragging and when I switch pages and come back to the Map page, it builds the map and points to the default location.

    • @kisankids4783
      @kisankids4783 3 года назад

      You can Use IndexStack in body of your scaffold widget of tabbar file. reach to me flutter.rashpinder@gmail.com

  • @andrealvarado1663
    @andrealvarado1663 2 года назад

    What if I want to scroll for both directions? Do you have any solution?

  • @adilnje4327
    @adilnje4327 5 лет назад +1

    hello can i ask about snippets used in you'r vedio

  • @Chriscs7
    @Chriscs7 4 года назад

    It is possible that reached bottom scroll might happen more then one time, and thus multiple api calls are started at the same time ( dispatching fetchNextPage). How is your idea of best handling that

  • @eduardorabanal2803
    @eduardorabanal2803 4 года назад

    great video as always bro, thanks a lot

  • @Pedro5antos_
    @Pedro5antos_ Год назад

    AWESOME

  • @abdullahfaiq4891
    @abdullahfaiq4891 5 лет назад +1

    Thanks.. it's will be very nice if datasource is taken from restfull API.

  • @ifrit1537
    @ifrit1537 5 лет назад

    ok I understood why you use empty events instead of enums. Thank you.

  • @ravinderrajsingha4856
    @ravinderrajsingha4856 3 года назад

    Please can anyone share this playlist link

  • @BeGoodLikeMe
    @BeGoodLikeMe 5 лет назад

    My list_state.g.dart file isnt generating

  • @lisongyun
    @lisongyun 5 лет назад

    oh, you are using flutter_bloc, I am trying to avoid a third-party lib and prefer using StreamBuilder directly.

    • @ResoCoder
      @ResoCoder  5 лет назад

      May I ask why? If you want to use a StreamBuilder, Bloc exposes its stream through the state field, I think.

    • @lisongyun
      @lisongyun 5 лет назад

      @@ResoCoder StreamBuilder is elegant enough for BLoC pattern. I have no idea why to use flutter_bloc lib and what pros are to use flutter_bloc instead of the default StreamBuilder. I just feel flutter_bloc approach weird. Somebody online in reddit says flutter_bloc is closer to redux pattern. I never use redux pattern before so I am not sure if that statement is correct or not.

  • @berkc5323
    @berkc5323 4 года назад

    why are you using builtlist? builtlist is not generally used with real api data

  • @ElliotCoil
    @ElliotCoil 5 лет назад

    pagination in kotlin sir?

  • @rupeshjadhav7284
    @rupeshjadhav7284 4 года назад

    Theme?

  • @lisongyun
    @lisongyun 5 лет назад

    Why do you disable CC??

    • @ResoCoder
      @ResoCoder  5 лет назад

      I don't, RUclips does that automatically on some videos 🤷‍♂️

    • @lisongyun
      @lisongyun 5 лет назад

      @@ResoCoder Thanks a lot for the quick reply. Some quora answer says to ask the author to enable CC if the button doesn't exist. Maybe that answer is wrong. Sorry about it.

    • @ResoCoder
      @ResoCoder  5 лет назад

      @@lisongyun No problem.

  • @nabinkhatiwada8908
    @nabinkhatiwada8908 5 лет назад +1

    Hey, man subscribe popup is irritating me. You don't need to tell the user to subscribe time and again. If your content is good the user will automatically subscribe to your channel. I subscribed your channel because I find your videos to be important not because of those irritating popups. So, from the next video stop showing the subscribe popups. :@

    • @ResoCoder
      @ResoCoder  5 лет назад

      Thank you for your input on these popups!

  • @quicktips3858
    @quicktips3858 5 лет назад

    Almost a framework for a list pagination...