Android Studio Tutorial - Best way to update Recycler View with DiffUtils

  Рет қаралды 14,913

EDMT Dev

EDMT Dev

Күн бұрын

Link donate : www.paypal.me/...
Facebook : / edmtdev
In this tutorial , i will show you better way to update Recycler View than use notificationDataSetChanged method by use DiffUtil class
android development tutorial,android programming tutorial,android app development tutorial,android tutorial for beginners,android app tutoria,android studio tutorial,learn android programming,android developer tutorial,android programming,android development,android studio tutorial for beginners,android course,android training,android development course,android app development course

Пікірлер: 55
@Ruhulamin-ur3kw
@Ruhulamin-ur3kw 3 жыл бұрын
Finally, i understand this concept with MVVM
@eddydn71
@eddydn71 3 жыл бұрын
You're welcome, my bro :D
@Ruhulamin-ur3kw
@Ruhulamin-ur3kw 3 жыл бұрын
@@eddydn71 thanks sir im from Bangladesh. Always lovely your coding style love from Bangladesh
@denislyamin8115
@denislyamin8115 4 жыл бұрын
Thanks. Good tutorial on using DiffUtil.Callback.
@eddydn71
@eddydn71 4 жыл бұрын
You're welcome my bro :D
@breakeract796
@breakeract796 5 жыл бұрын
thanks bro :D I've wasted so much much time for other tutorials.
@eddydn71
@eddydn71 5 жыл бұрын
You're welcome my bro
@khlchs2231
@khlchs2231 6 жыл бұрын
Woooooooooooow Very good tutorial
@eddydn71
@eddydn71 6 жыл бұрын
You're welcome :d
@armandoavila4615
@armandoavila4615 6 жыл бұрын
I think you're asked this all the time, but why don't you speal in your videos? It's just a doubt I have 😂 Thanks a lot, you are very talented, keep it up!
@eddydn71
@eddydn71 6 жыл бұрын
:'( My English too bad my dear :D
@vaibhavpandey2967
@vaibhavpandey2967 6 жыл бұрын
Thanks again sir ji
@eddydn71
@eddydn71 6 жыл бұрын
You're welcome my dear
@asdf-od5nm
@asdf-od5nm 6 жыл бұрын
Add some feature like we can add dynamic data using firebase and if the text(paragraph) is large then by clicking on that it will open new window with full text
@eddydn71
@eddydn71 6 жыл бұрын
:D Hii , you can use : github.com/bravoborja/ReadMoreTextView
@rektgvaur2696
@rektgvaur2696 6 жыл бұрын
can I use this in endless scroll Recyclerview ? Thanks for the tutorial
@eddydn71
@eddydn71 6 жыл бұрын
:D Yes you can
@sagar0783
@sagar0783 5 жыл бұрын
Hello sir , actually I was working on a different product where recycler view getting refresh automatically.. How to stop that ?
@amitkumarmishra406
@amitkumarmishra406 4 жыл бұрын
new inserted data is not set to the adapter, it is showing the old data. not working
@eddydn71
@eddydn71 4 жыл бұрын
Please watch my tutorial step by step , my dear
@HendraWijayaDjiono
@HendraWijayaDjiono 5 жыл бұрын
3:24 It's funny that you change ConstraintLayout to RelativeLayout while ConstraintLayout basically can do what RelativeLayout can, better in performance, and has more capabilities.
@eddydn71
@eddydn71 5 жыл бұрын
^^
@HendraWijayaDjiono
@HendraWijayaDjiono 5 жыл бұрын
@@eddydn71 ^^
@galphie5997
@galphie5997 4 жыл бұрын
@@HendraWijayaDjiono ^^
@pedromihael8968
@pedromihael8968 4 жыл бұрын
@@galphie5997 ^^
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 жыл бұрын
Hey there I'm creating a chat app and I send msg to a child in firebase and I retrieve the msg of others through onDataChange in value event listener but the problem is when I retrieve msg I their particular activity page it works well but when I leave that page and moves to another person chat and comes back to his chat page Im receiving his last chat against due to the value event listener so I have done another way. It is I have deleted the msg from firebase once I have read it from firebase and put an if condition at onDataChange stating if the firebase value is not empty then perform the task inside onDataChange else not . now it works well but when I go back for twice or thrice and comes back the new msg from him is displaying twice or thrice accordingly to me pls help me.
@eddydn71
@eddydn71 4 жыл бұрын
Dear ! I'll release new tutorial about new Chat app, i think it will help you
@ВячеславМ-е1т
@ВячеславМ-е1т 6 жыл бұрын
Thank!
@eddydn71
@eddydn71 6 жыл бұрын
You're welcome my dear
@shubhammeher5527
@shubhammeher5527 4 жыл бұрын
How can i implement a recyclerview inside recycleview both containg live data using viewpool
@eddydn71
@eddydn71 4 жыл бұрын
I will try create tutorial my dear :)
@mustafashaikh9075
@mustafashaikh9075 5 жыл бұрын
Can we do this dynamic data with Retrofit.????
@eddydn71
@eddydn71 5 жыл бұрын
Yes we can my dear :D
@sagarghare9829
@sagarghare9829 6 жыл бұрын
hey edmt does diffutil work on lollipop ..because u mention it is version 24.2.0 .
@eddydn71
@eddydn71 6 жыл бұрын
:D 24.2.0 is version of Support libraries my dear :D Don't worry
@sagarghare9829
@sagarghare9829 6 жыл бұрын
@@eddydn71 Hey edmt i tried using swipe refresh on live api. data is updating on 1st swipe.but onward all swipe it keep on duplicating. previous data is not get cleared. what changes do i need to make in diffutil class. i am also searching . help me
@eddydn71
@eddydn71 6 жыл бұрын
Try clear data before assign new my dear :D
@sagarghare9829
@sagarghare9829 6 жыл бұрын
@@eddydn71i have added list.clear() therefore on first swipe it is working .but onward all swipe previous data is not get cleared.What could be the other reason of data duplication
@eddydn71
@eddydn71 6 жыл бұрын
So check your code at swipe process. Because in my code , i just load one time question and create question list , when swipe i just process question answer , no load again
@funnylive9194
@funnylive9194 6 жыл бұрын
Please make a photo blog app In it like comment and share button. With Google Adsense code
@khlchs2231
@khlchs2231 6 жыл бұрын
where can i find the source code ? it's not available anymore ?
@eddydn71
@eddydn71 6 жыл бұрын
All source code available in my tutorial , just watch and get it my dear :D
@MuhammadBilal-qi4so
@MuhammadBilal-qi4so 5 жыл бұрын
Where i can get the code?
@eddydn71
@eddydn71 5 жыл бұрын
From video , please watch and write it down my dear :(
@MuhammadBilal-qi4so
@MuhammadBilal-qi4so 5 жыл бұрын
@@eddydn71 it will be very convenient if you putt all example code on git, thanks in advance
@saisathvik5820
@saisathvik5820 6 жыл бұрын
Sir, Can you make an app that can implement the blockchain technology at the back end?
@eddydn71
@eddydn71 6 жыл бұрын
I will try to research my dear
@preenxus3425
@preenxus3425 6 жыл бұрын
this is not update, this return back...
@eddydn71
@eddydn71 6 жыл бұрын
It will help you save memory on app
@preenxus3425
@preenxus3425 6 жыл бұрын
EDMT Dev what memory?
@arturfil
@arturfil 6 жыл бұрын
Can you do a tinder clone app?
@eddydn71
@eddydn71 6 жыл бұрын
Hi , i will try to do that :D Thank you for suggest :D
How to Use DiffUtils in RecyclerView  in Kotlin
18:50
Android Geek
Рет қаралды 4,5 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Level 1 to 100 Science Experiments
15:53
Hafu Go
Рет қаралды 19 МЛН
Android Studio Tutorial - Sticky Header Recycler View
45:42
EDMT Dev
Рет қаралды 18 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 212 МЛН
Israel Has The Right To Defend Itself | Stand-up Comedy by Daniel Fernandes
15:07
An introduction to Shader Art Coding
22:40
kishimisu
Рет қаралды 1 МЛН
RecyclerView OnClickListener (Best practice way)
11:48
CodingWithMitch
Рет қаралды 292 М.
Swipe gestures in Recycler View | Android
18:47
Mafia Codes
Рет қаралды 63 М.
Runnables Threads and Handlers in Android
10:07
Mafia Codes
Рет қаралды 38 М.