Paging 3 Loader Android Tutorial | Load State Adapter - CheezyCode | Hindi

  Рет қаралды 6,531

Cheezy Code

Cheezy Code

2 жыл бұрын

Android Paging 3 Tutorial in Hindi - Learn Paging 3 in Android with simple example. In this video, we will learn how to implement loading state in paging. For Loading state, we have a special LoadStateAdapter that helps in showing loader in Header and Footer. We have concat adapter functionality on Paging Adapter that can use this Load State Adapter. We can show this loader with different methods - withLoadStateHeaderAndFooter, withLoadStateHeader, withLoadStateFooter.
We can show different UI for header and footer inside paging3 loader implementation. For that we need to create different LoadStateAdapter that will manage the loader implementation in Paging 3 Android. We have implemented it using HILT and MVVM Architecture Pattern. Learn by creating a simple example in Hindi.
Topics covered -
1. What is Loading State?
2. LoadStateAdapter with LoadState
3. Paging Implementation Example
4. MVVM + HILT + Paging 3 Jetpack Component.
Complete Dependency Injection Playlist Link -
• Dagger 2 - Dependency ...
Complete Android Architecture Components Playlist -
• Android Architecture C...
Beginner series in Android Playlist (Hindi) -
• Android Tutorials Step...
Kotlin Beginners Tutorial Series -
• Kotlin Beginner Tutori...
For more info - visit the below link
www.cheezycode.com
API Used -
quotable.io/
Source Code -
github.com/CheezyCode/Android...
We are social. Follow us at -
Facebook - / cheezycode
Twitter - / cheezycode
Instagram - / cheezycode

Пікірлер: 36
@rishabhgarg6692
@rishabhgarg6692 Жыл бұрын
Best, Big fan, sir
@manshalkhatri9289
@manshalkhatri9289 2 жыл бұрын
Easy and Helpful tutorial !
@CheezyCode
@CheezyCode 2 жыл бұрын
Thank you Manshal
@rishikeshsingh9946
@rishikeshsingh9946 2 жыл бұрын
Awesome 👌
@CheezyCode
@CheezyCode 2 жыл бұрын
Thank you 😊
@islamicinsightbysaifi
@islamicinsightbysaifi 2 жыл бұрын
great😊
@CheezyCode
@CheezyCode 2 жыл бұрын
Thank you
@brutalnoob2674
@brutalnoob2674 2 жыл бұрын
now i am in a good mood
@CheezyCode
@CheezyCode 2 жыл бұрын
stay like that...😁
@trishaktispiritualz
@trishaktispiritualz 2 жыл бұрын
Kya firebase se esa ho sakta hai 4 application hai 4 ka data 3 ko pass kare 3 ka 2 ko or 2 ka 1 me data pass ho Kya esa possible hai firebase se
@quantumgaming7
@quantumgaming7 2 жыл бұрын
😍
@subhamahir5599
@subhamahir5599 11 ай бұрын
can you please create video on pagination without MVVM achitecture?
@Ashishyadav-mb1tw
@Ashishyadav-mb1tw Жыл бұрын
Awesome, I have one issue from my end, I need a list of data(each page when it calls) in my activity for further requirements, but right now I try almost every function but do not get the list in my activity. Please provide a solution as soon as possible.
@CheezyCode
@CheezyCode Жыл бұрын
Covered Remote Mediator as well. You can manipulate the data in Room DB
@Ashishyadav-mb1tw
@Ashishyadav-mb1tw Жыл бұрын
@@CheezyCode thank you so much.
@allmmathing
@allmmathing 2 жыл бұрын
Make. Video on android 11 scooped storage permission.
@PacifistGaming963
@PacifistGaming963 Жыл бұрын
I am facing an issue k jb me paging me api req krta wo without scroll hi sari req bhej deta server until usko error receive ho server se empty ka
@abhilekh3381
@abhilekh3381 2 жыл бұрын
When can we expect unit testing, mokito, TDD, Integration testing video. That is very important and not a good single video available on KZfaq.
@CheezyCode
@CheezyCode 2 жыл бұрын
will certainly add videos related to these topics ..but will take time for this..
@chiragprajapati4036
@chiragprajapati4036 2 жыл бұрын
How to remove and add a single item in Paging 3?
@CheezyCode
@CheezyCode 2 жыл бұрын
Update the data and call adapter.refresh
@chiragprajapati4036
@chiragprajapati4036 2 жыл бұрын
​@@CheezyCode Refresh will hit API call which I don't want. Consider the scenario that I am adding a new item via API and in that API response the newly added item will be given now I don't want to refresh the whole list I simply wish to append that item in the list Thanks for reply
@Unknown-vk9kd
@Unknown-vk9kd 2 жыл бұрын
Jitni jaldi jaldi android har cheez deprecate karta ja raha hai mai to bhai preshaan hoon sach mai. Jetpack se pehle sab jyada hi slow tha android mai, or ab kuch jyada hi fast hai. At least give developers some time to understand and use the libraries & APIs
@CheezyCode
@CheezyCode 2 жыл бұрын
sabhi ka same haal hai - android nahi sab jagah pe update ho rahi h cheezein...easy karlo life - har cheez seekhna jaroori nahi....
@trishaktispiritualz
@trishaktispiritualz 2 жыл бұрын
Please check email I sent my doubt about quiz app
@CheezyCode
@CheezyCode 2 жыл бұрын
Replied
@trishaktispiritualz
@trishaktispiritualz 2 жыл бұрын
@@CheezyCode thanks
@trishaktispiritualz
@trishaktispiritualz 2 жыл бұрын
@@CheezyCode HARM issue aa raha hai
@CheezyCode
@CheezyCode 2 жыл бұрын
Kotlin extension use kiye h - ruko ek change btata hu nahi karna padega findviewbyId then
@CheezyCode
@CheezyCode 2 жыл бұрын
apply plugin: 'kotlin-android-extensions' Add this plugin in your app's build.gradle
@ektajain3983
@ektajain3983 Жыл бұрын
LoaderState Code missing hai paging3 repo me, please update latest code @cheezycode
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 67 МЛН
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 16 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 9 МЛН
Paging with Paging 3
11:07
Android Developers
Рет қаралды 55 М.
Android Paging concept - Introduction in Hindi
9:14
Programming Simplified
Рет қаралды 3,6 М.
Robotaxis | Big Ideas 2024
9:41
ARK Invest
Рет қаралды 58 М.