RecyclerView - Part 8, notifyDataSetChanged vs notifyItemChanged

  Рет қаралды 34,782

Codetutor

Codetutor

Күн бұрын

Пікірлер: 50
@doodlermobile260
@doodlermobile260 6 жыл бұрын
Impressive editing and explanation. You're arguably the best Indian programming tutor I've come across in KZbin. Keep it up!
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 6 жыл бұрын
Thanks for the kind words.. Really appreciate it.. Help spread the word about the channel.. If you like something.. feel free to share it with your friends and peers who might find it useful.
@doodlermobile260
@doodlermobile260 6 жыл бұрын
Sure.
@christianbulow8566
@christianbulow8566 5 жыл бұрын
@@Codetutor-DemystifyCoding Totally agree - best indian codetutor
@SRIKANTH-ls9bm
@SRIKANTH-ls9bm 7 жыл бұрын
Thanks anil for your vidoes where you are explaining deeply by case by case , and make us understannding in better way and your explanation is better than Android documentation
@gurubhai4918
@gurubhai4918 Жыл бұрын
very good a real teacher your indeed, cheers Deshpande bhai, there's no video on Custom Claims for different user roles on firebase on internet, everybody is searching for this, please create a video i've susbcribed
@shubhamnaik1982
@shubhamnaik1982 3 жыл бұрын
Cool Information about Recyclerview on Whole KZbin, Thanks for it 🙏
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 3 жыл бұрын
It's my pleasure
@lavanyanaik272
@lavanyanaik272 3 жыл бұрын
Thanks for the video sir. What if empty items are displayed in recyclerview sir. How to remove them?
@Daniel-pq1vr
@Daniel-pq1vr 2 жыл бұрын
Awesome explanation!
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 2 жыл бұрын
Thanks... Feel free to explore codetutor. Hope you have subscribed.
@nathann4291
@nathann4291 4 жыл бұрын
like your intro, makes me feel good.
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
I appreciate that
@vedaworld7947
@vedaworld7947 7 жыл бұрын
hi Anil your explanation is good... please upload videos frequently
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 7 жыл бұрын
+hacker must Currently I have been publishing two videos a week. This mainly depends on how much bandwidth I get after my professional commitments. I will try to publish more often. Thanks for feedback.
@RahulYadav-vs2wd
@RahulYadav-vs2wd Жыл бұрын
If I just update a data in recyclerview and invoke notifiyItemChanged. My question is will viewBinding be invoked for every item in the list in Adapter class?.
@sreelathaavula6024
@sreelathaavula6024 9 ай бұрын
How does the arraylist get a list of elements
@rockygranda
@rockygranda 5 жыл бұрын
You are my hero man. Thank you!
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 5 жыл бұрын
Hey thanks.. Glad that you liked the content. Feel free to explore other videos, visit playlist section of channel to see curated content. Hope you have subscribed.
@jaycool5978
@jaycool5978 6 жыл бұрын
Great example. I am wondering how to Programmatically update the list objects in terms of their status. For example when a user clicks its updates by changing the font colour of the selected text. But if you only want one row to be highlighted a time; would require any existing selected items to have their font colour back to original state. I have spent endless time trying to figure it out but still stumped to why its not changing the font colour back. Have you got any ideas on how this could be achieved?
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 6 жыл бұрын
I hope I understood the question correctly. Changing individual widgets in a row based in user events is just matter of handling user event on those widgets. If you want to handle the event to the row item, you will have to define background for selectable attribute - "android:attr/selectableItemBackground". Please look further in this direction. You should be able to figure out. I hope I have not confused you even more.
@jaycool5978
@jaycool5978 6 жыл бұрын
Not at all. It was an odd problem. I didn't realize I couldn't tell the adapter to refresh within the adapters class. I took an slightly different approach whereby it checks if any item has been selected if so don't allow the user to select any more items. Then I added an reset button, which wipes the slate clean.
@dreamerxyz2058
@dreamerxyz2058 7 жыл бұрын
Thanks you for your videos ...happy to learn..
@rappy7017
@rappy7017 3 жыл бұрын
thank you very much, nice explaination!
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 3 жыл бұрын
Glad you liked it, feel free to explore other content on channel. Hope you have subscribed.
@gailindia7252
@gailindia7252 4 жыл бұрын
Sir how to keep remain check box checked when button click move to next screen and come back see the check box remain checked only I what like this ..mine when I come back it's destroying checked check box showing all unchecked
@deepakganachari3703
@deepakganachari3703 6 жыл бұрын
Thanks sir, Nice explaining all topics required for development..
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 6 жыл бұрын
Hey Thanks.. Glad that you liked it. Please check other content on channel by visiting Playlist section of channel.. Hope you have subscribed.
@deepakganachari3703
@deepakganachari3703 6 жыл бұрын
Yes sir , I dont want to miss anything related to Android.. it has been pleasure learning Android from codetutor..it would be helpful if you take topics like Rx Java, Dependency Injection, Butter knife and How to test Android unit and instrumental test in Android studio..
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 6 жыл бұрын
They are definitely on cards.. But I don't want to rush through topics or compromise on quality. It will take some time before I reach these topics. Hope you won't mind.. I the mean time you can help spread the word about channel.. share what you like with your friends who might find this useful.
@deepakganachari3703
@deepakganachari3703 6 жыл бұрын
definitely sir..
@SunilRathod-kl9fe
@SunilRathod-kl9fe 6 жыл бұрын
Thank you Sir, this method really help full for me. If i want to change image from recyclerView Adapter using notifyDatasetChanged() position can you help me please
@tranvuong3642
@tranvuong3642 3 жыл бұрын
great! thanks bro.
@nhanhuynh2443
@nhanhuynh2443 3 жыл бұрын
Youre legend
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 3 жыл бұрын
Thanks for the kind words. Feel free to explore other content on the channel. Hope you have subscribed.
@sapnaD47
@sapnaD47 4 жыл бұрын
Great sir
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
Hey.. thanks for the kind words. Feel free to explore other content on Channel. Visit the playlist section of the channel. Hope you have subscribed.
@benedictcontawe3355
@benedictcontawe3355 6 жыл бұрын
notifyItemChanged(holder.position) is now deprecated. any suggestions for modifying one item only?
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 6 жыл бұрын
I did check the documentation [ developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter#notifyitemchanged ]. I don't see it as deprecated. In which version of Android was this deprecated? Is it Android P? Request you to share details. I am sure there would be some alternate solution.
@clublulu399
@clublulu399 4 жыл бұрын
Good stuff
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
Thanks for the kind words. Feel free to explore other content on channel. Visit playlist section of the channel.
@manojhansda4817
@manojhansda4817 4 жыл бұрын
Thanks a lot
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
Thanks for the kind words. Glad that you found it useful. Feel free to explore remaining content on channel, visit playlist section. Hope you have subscribed.
@nathann4291
@nathann4291 4 жыл бұрын
I hope you understand that there are more races than brit, indian, and us.
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 4 жыл бұрын
Just a demo man... don't attribute anything more to it😂 😂 😂
@stay_high_
@stay_high_ 4 жыл бұрын
इनवोकड - Invoked 🤣🤣🤣
@kathiamelody9678
@kathiamelody9678 6 жыл бұрын
thanks
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 6 жыл бұрын
Feel free to visit playlist section ( kzbin.infoplaylists?view_as=subscriber ) of the channel to see what other content the channel has to offer.
RecyclerView - Part 9, Supporting heterogeneous rows
6:15
Codetutor
Рет қаралды 12 М.
Pull to Refresh in Recycler View | Android
4:27
Mafia Codes
Рет қаралды 50 М.
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 2,6 МЛН
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 70 МЛН
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 67 МЛН
Wait for it 😂
00:19
ILYA BORZOV
Рет қаралды 11 МЛН
RecyclerView Android 05 Adapter, ViewHolder, BindViewHolder, onCreateViewHolder, OnClickListener
23:56
Android Architectural components, Lifecycle, ViewModel, and LiveData
1:04:35
RecyclerView OnClickListener (Best practice way)
11:48
CodingWithMitch
Рет қаралды 292 М.
RecyclerView | Everything You Need to Know
25:07
Practical Coding
Рет қаралды 142 М.
SAVED INSTANCE STATE AND RECYCLERVIEW SCROLL POSITION
12:33
Bamidele Oguntuga
Рет қаралды 20 М.
RecyclerView OnClickListener to New Activity
15:20
CodingWithMitch
Рет қаралды 214 М.
Expandable Recycler View | Android
12:28
Mafia Codes
Рет қаралды 45 М.
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 2,6 МЛН