Тёмный

RecyclerView | Everything You Need to Know 

Practical Coding
Подписаться 11 тыс.
Просмотров 125 тыс.
50% 1

In this video, you'll learn how to create a basic RecyclerView in Android Studio. The RecyclerView is a very common view used in app development to display large amounts of information to the user. Topics that will be covered in this video include creating a custom row layout using a CardView, setting up the RecyclerView Adapter, what the RecyclerView adapter methods are doing and why we need them, and finally a little bit of what the RecyclerView is doing in the background.
🟡 Join the Discord Server!!
/ discord
Chapters:
00:00 Intro
00:27 Setting Up the Data for Your RecyclerView
01:53 Adding a RecyclerView to an Activity
02:47 Creating Layout For RecyclerView Rows
06:15 Making a Data/Model Class to Hold the Data
08:11 Storing Instances of Our Model Class
11:46 What the RecyclerView Roughly does in the Background
13:34 Basic RecyclerView Adapter Class Skeleton
15:23 Overview of Each Method in the Adapter Class
16:31 Finishing the RecyclerView Adapter
21:57 Attaching the Adapter to Our RecyclerView
23:45 Adding the Missing Piece
24:45 Ending
Android Studio is a great platform for creating apps that can be deployed on the google play store. If you're new to the series, I'd go and check out the Android Studio Playlist. There you will be able to see how to create basic apps so you can become a developer.
Check out the Android development playlist for more videos like this!
• Android App Developmen...
#androidstudio #appdevelopment #PracticalCoding

Хобби

Опубликовано:

 

2 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 230   
@Alexander_Grant
@Alexander_Grant 2 года назад
This has a criminally low view count compared to other similar tutorials. This helped me far more than any other tutorial for RecyclerView stuff I've looked at.
@PracticalCoding
@PracticalCoding 2 года назад
Thanks for the compliment! I put a lot of time into this video because I thought most of the other RecyclerView videos weren't very helpful. Glad the video helped you out!
@tonymukelabai1283
@tonymukelabai1283 2 года назад
Can totally relate
@christopherjaysonpanerio3189
@@PracticalCoding bro thank you so much
@ernestwang
@ernestwang Год назад
I agree
@obaidniazi
@obaidniazi Год назад
true
@mohab35
@mohab35 2 года назад
I rarely press the like button for a RU-vid video, but this one deserves it with honors. You are a life saver to me, sir. My warm greetings from Egypt.
@dominiclotz9829
@dominiclotz9829 2 года назад
You have saved a couple university students with this video! Thank You!
@PracticalCoding
@PracticalCoding 2 года назад
Good to hear!
@kaismaqbool
@kaismaqbool 10 месяцев назад
Sir please post a video on searchview for the same recycler view example. Please
@diafreak3634
@diafreak3634 9 месяцев назад
I love that you took the time to explain each method when you implemented the adapter, was a pleasant surprise to not get the usual "just do as shown and continue"
@antoniofuller2331
@antoniofuller2331 4 месяца назад
I was surprised too, it means his IQ is clearly above the 135 level
@i_GHOST
@i_GHOST 2 года назад
Dude you are absolutely a magician, it was so easy and fun to learn and understand at the same time the concept of Recycler View. Much love and respect man. Thanks for all the effort :)
@shank1er
@shank1er Год назад
I spent a whole day using examples from the teacher and other youtubers before I stumbled upon your channel. I followed your tutorial which was pretty straightforward and My recyclerview worked on the first attempt in my app, using my classes and objects. Hands Down the best tutorial on recyclerviews. You should keep making more of these videos. I am subscribing because you did such a great job.
@taylorteddy7187
@taylorteddy7187 6 месяцев назад
Bro your videos have the clearest explanation about android studio concepts that I can find on RU-vid. Very well edited as well! Straight to the point, approriate fast-forwards, simple and clear explanations! Thanks so much and please keep up your work!
@jesusg4839
@jesusg4839 Год назад
Thank you so much, this has been the best video explaining recyclerview I'd seen so far very friendly and complete. For your ten months out I supposed you are no longer in youtube, and actually most comments I'd seen says the great work you did. Wherever you are, thank you for all the users we'd seen this video really made a great impression. Have a great life, you deserve it!
@solardex540
@solardex540 Год назад
Love how you described every method instead of every other tutorial that says "now write all this junk here, dont care what it does just trust me". Excellent tutorial :)
@CforChillandCheese
@CforChillandCheese Год назад
You are a very good narrator to explain RecycleView and wrote clean code. When I first build my setup recyclerView, I just dump everything inside OnCreate method, and I was confused of what I did. Hope I learn new things in your channel, please keep the channel live.
@arek9430
@arek9430 Год назад
I have watched a few recyclerview tutorials, but this one, with your patience, passion and performance is best so far.
@salimex3987
@salimex3987 10 месяцев назад
Dude, you're the best. Clear, practical, concise tutorial. That's real education. Bless you
@drcl7429
@drcl7429 Год назад
In tutorials like this it can't be overstated how important correct vocal emphasis and sometimes repetition on the important items in the particular context is. So many tutorials just go through in an almost monotone voice. Building things in a logical order instead of going all over the place and not introducing new concepts beyond the expected level of knowledge is also important so you aren't left stupefied in a tornado of concepts you have never encountered before. Happily, Practical Coding exemplifies all these essential techniques.
@PracticalCoding
@PracticalCoding Год назад
Thanks for the compliment! Glad you found the video helpful
@fry8362
@fry8362 2 месяца назад
oh my god this has been the most thorough and straightforward tutorial, thank you for doing it better than 900 other ones ive seen
@DarrinDickey
@DarrinDickey Год назад
You are an awesome teacher! I've watched probably 20 videos on RecyclerView and this is the only one that made sense from beginning to end. I look forward to your other videos.
@stillpickinganame5350
@stillpickinganame5350 8 месяцев назад
This tutorial is a blessing from heaven! Very well explained, easy to follow along and to understand the concepts behind what's happening! THANK YOU SO MUCH❤ and keep it up!
@UstedTubo187
@UstedTubo187 5 месяцев назад
Wow, I feel like I've stumbled upon a treasure with this channel. How bizarrely rare to see an Android Studio tutorial RU-vidr that you can both hear AND understand!
@iaieshnia
@iaieshnia Год назад
this is just gorgeous. i love it! please keep making such content!!! the adapter pattern is really in place here. thanx!
@dmhub21
@dmhub21 Месяц назад
This is comprehensive, and profession oriented. you made my carrier one level up now
@Soner_Dev
@Soner_Dev 2 года назад
Super detailed tutorial. Finally someone explains how exactly everything works! :)
@TomOcelot
@TomOcelot 8 месяцев назад
Thank you so much! You put more time to explain RecyclerView to me than my own university professors. Your explanations are really detailed and easy to understand. Subscribed!
@idrios
@idrios Год назад
Seriously, this is the best explanation of RecyclerView I've found yet. I didn't realize that elements were more-or-less removed from the list while they're out of view (though makes sense for performance reasons when the list is massive, like a list that holds a chat conversation), so that diagram explained a ton of concepts really well that are not clear at all from the documentation. Also, really good editing on this video in general.
@technics6215
@technics6215 Год назад
Well, I liked ListView and I think the RecyclerView should be used only in special cases. In my opinion creating massive lists where you have more than 50 (maybe 100?) items is a bad design. Android SDK in many aspects forces developers to make complicated things (like event-driven programming), and on the other side encourages to make bad design... There are special cases, where you may need really long list, maybe Twitter or Reddit application kind, but still there should be some filter to skip data which is not relevant for the user. Unless the user is bored, phone-addict, who lost ability to focus for more than TikTok video duration and doesn't know what he wants and just scrolls until he finds something interesting.
@ikannunaplays
@ikannunaplays 9 месяцев назад
I remember when this object didn't exist and adroid apps that had huge lists would be so slow when you scrolled your battery would die before you were able to get to the end. Then some smart programmers came up with this idea using the standard list view. But then method was adopted and setup as it's own now called the RecyclerView. Today I finnally get to try to implement it myself.
@RafaelGarcia-ls1uy
@RafaelGarcia-ls1uy Год назад
I don't know why this chanel don't have a lot more subs, I mean you're amazing and a life savior! Thanks for sharing your knowledge :)
@ehans474
@ehans474 8 месяцев назад
Incredible. Incredible. Incredible. This video answered weeks of misunderstandings, failures, and so much more. Thank you so much for posting this video. It was a lifesaver. You really changed someone's life today. Thanks. :)
@ok_jeans63
@ok_jeans63 Год назад
Thank you so much! it helped me so much to understand about recyclerview- especially, when you explain each method in adapter. Subscribed!
@umairhassangondal3518
@umairhassangondal3518 10 месяцев назад
Seriously, the best explanation of RecyclerView so far.
@Oliver12723
@Oliver12723 Год назад
Very good explanation and very clear English-speaking. Thank you so much!
@emilymoellenberg5598
@emilymoellenberg5598 Год назад
This is an amazing tutorial that is going to help me pass my Android dev class. Thanks a million!!!
@danny117hd
@danny117hd Год назад
Wow the production value on this video! Hopefully later in the playlist I find what I'm looking for.
@Mousoukyou
@Mousoukyou 6 месяцев назад
Thank you so much for this tutorial, and for explaining everything so thoroughly.
@stilgharroycruz5204
@stilgharroycruz5204 Год назад
I found the hidden gem and the best channel for modern android studio tutorial, guides and tips.
@MyurrDurr
@MyurrDurr 7 месяцев назад
This guide saved my damn life holy crap thank you aha! Spent like 3 days trying to get this to work and this video finally made it happen
@yovanybartolome91
@yovanybartolome91 Год назад
Good stuff bro! Currently working on a project and this video helps a lot!
@loaysa216
@loaysa216 7 месяцев назад
what a great explanation to the RecyclerView, I watched a lot of tutorials and this by far the best I watched,. Everything is explained in a clear and a simple way to understand. Thank you very much, sir.
@milesandraycasilao9188
@milesandraycasilao9188 Год назад
Omg, this is the most detailed recycler view tutorial that I've watched.
@eldervar4355
@eldervar4355 2 года назад
Thanks mate. Very well explained. It helped me a lot!
@haneenal-hajjiahmed9515
@haneenal-hajjiahmed9515 2 года назад
I enjoyed watching the video till the end and the explanation was comprehensive. thank you very much.
@dariyakucheruk3585
@dariyakucheruk3585 Год назад
Such an amazing explanation of really a hard theme. You really helped me out with my own app. Thank you very much!
@jojox1904
@jojox1904 Год назад
THANK YOU so much for this!! My prof didn't really explain how it works and just coded in lighspeed expecting us to understand so this really helped
@obafemiopeyemi3203
@obafemiopeyemi3203 3 месяца назад
This really helped me understand how Recycler Views work. Thank you
@aarontan5748
@aarontan5748 Год назад
Really a good tutorial. I followed it step by step and easily made it! Thanks a lot!
@aungaungoo6947
@aungaungoo6947 4 месяца назад
Most amazing content about RecyclerView.This tutorial is gold.
@ssjkido
@ssjkido Год назад
I think I love you, I have been working on something similar for God knows how long and then I get it done only a day after watching your video. Thank you.
@thomlow3123
@thomlow3123 Год назад
I cant believe that this has less views compared to other recyclerview videos. Thank man for helping me to understand this recycler view and looking forward to your other videos
@qufloat2144
@qufloat2144 2 года назад
you're my android teache now! thank you for explaining this, i understood it word for word
@groinache
@groinache Год назад
nice.. I got my own recyclerview effortlessly after watching this video. Keep it up! and thanx
@user-kc9cn5js1u
@user-kc9cn5js1u Год назад
Mate, this video is actually the reason I pass my exam. Continue your video, I never seen a better tutorial on YT.
@coconutcove5551
@coconutcove5551 Год назад
You have no idea how much shit I had to dig through to find it all laid out in a simple impeccably explained self-contained video. Thank you so much for this.
@mOssssama
@mOssssama Год назад
Amazing bro. You are a real geek Android developer & instructor
@convi346
@convi346 Год назад
Many thanks! :) Best RecyclerView Tutorial so far
@robinpetersson3081
@robinpetersson3081 6 месяцев назад
Yeay! a few hours and I finally made it. A few pitfalls here and there, but yeay! Thank you so much for an excellent video.
@jemshaljohnpaul8230
@jemshaljohnpaul8230 2 месяца назад
explained like a charm!!
@demiantah3179
@demiantah3179 2 месяца назад
I spend about 4 hour looking for a good video talking about recycled views, thanks, honestly !
@jeffreystevens8042
@jeffreystevens8042 2 года назад
Very helpful with my current job. Thanks.
@ankaandrews1093
@ankaandrews1093 2 года назад
Superb video and excellent editing. Thank you for making these videos :)
@lovedeepsingh1793
@lovedeepsingh1793 Год назад
Very Well Explained.... Keep uploading such informative content..
@swayedout247
@swayedout247 Год назад
Awesome tutorial, helped me with my project. I am going to watch the item click video now!
@youngpal7940
@youngpal7940 2 года назад
such great tutorial! Thank you so much! You did help us a lot!
@noelhann5262
@noelhann5262 Год назад
This video was so helpful! Thank you!
@guswahyu6089
@guswahyu6089 Год назад
Thank you so much for the explanation🙏
@Sydewinder890
@Sydewinder890 2 года назад
You're a lifesaver man! Thank you so much
@technics6215
@technics6215 Год назад
Very good tutorial in comparison to other tutorials about RecyclerView. Thanks!
@Thomaps
@Thomaps Год назад
Thanks man, very clear video, nickel chrome
@manishbr5831
@manishbr5831 Год назад
Keep making videos man, love them !
@ozas5922
@ozas5922 8 месяцев назад
perfect explanation, tysm
@navjots101
@navjots101 Год назад
really good one thanks for sharing this
@mrcibz7044
@mrcibz7044 2 месяца назад
very good video, helped me so much!!
@michelleclaudia8655
@michelleclaudia8655 2 года назад
Very helpful! Thank you so much
@nsansa9234
@nsansa9234 2 года назад
The only video that helped me to understand it clearly
@aymenhousni720
@aymenhousni720 Год назад
Well explained man 👏👏
@FRENEMIE.mp3
@FRENEMIE.mp3 13 дней назад
Super helpful! I’m not new to computers or languages, but I am new to Java/Kotlin lol. And I’m trying to build an app and learn logic. Definitely a work out, but this is INCREDIBLY helpful.
@user--10552
@user--10552 Год назад
Thank you so much ,you're the best .
@nourmorgan6751
@nourmorgan6751 Год назад
thanks man , much love
@user-zl3kc3pp6w
@user-zl3kc3pp6w Год назад
Wow you're genius!!! Thanks for great explanation, this video saved my life !!!!!
@TheSUMMIE
@TheSUMMIE 2 года назад
This is just what I needed!
@raze4765
@raze4765 Год назад
Thank you.. What a big help
@thegameisneverover7558
@thegameisneverover7558 2 года назад
YO WTF. This channel is so underrated. You make the best youtube tutorials about Android Studio ive ever seen
@thegameisneverover7558
@thegameisneverover7558 2 года назад
Nah it just feels illegal that you only have 5k subscribers and 11k views. You such a good tutorial youtuber.
@naveengtk2617
@naveengtk2617 Год назад
Somebody give this man a medal
@prof.werbethcunha3325
@prof.werbethcunha3325 Год назад
Muito bom, parabéns por compartilhar seus conhecimentos com os iniciantes em programação.
@LK2LD
@LK2LD 8 месяцев назад
Thank You so much for this video , u really made the recyclerView simpler , now I don't have to memorize everything .
@ebi7hosseinpour902
@ebi7hosseinpour902 2 года назад
It’s amazing 🤩 thank you 🙏
@PracticalCoding
@PracticalCoding 2 года назад
Glad you like it!
@mrizalwibowo2567
@mrizalwibowo2567 Год назад
That is the best recylerview tutorial i've ever watched
@PracticalCoding
@PracticalCoding Год назад
That's what we like to hear!
@pedroberton7441
@pedroberton7441 Год назад
finally got it, thanks
@pavithrapathirana6039
@pavithrapathirana6039 Год назад
Best tutorial ever.. but on click listener is little bit fast. This one is perfect ....
@TheOneAndOnlyMart
@TheOneAndOnlyMart Год назад
Great Tutorial
@charithmalaka8918
@charithmalaka8918 Год назад
Wonderful video and thank you ... can we change language ? In same item row ?? I mean in a single item row multiple languages ??
@samfernando9394
@samfernando9394 Год назад
I have the same requirement
@pavithrapathirana6039
@pavithrapathirana6039 Год назад
Yes.... i also want to know
@hashansubasingha1963
@hashansubasingha1963 Год назад
I'm also interested.
@kaushalyagunathilaka2397
@kaushalyagunathilaka2397 Год назад
Um also interested
@proquiz1995
@proquiz1995 Год назад
I'm also interested
@alliwantforxmasismoneynandyou
@alliwantforxmasismoneynandyou 3 месяца назад
Thank you😭😭😭 this video help me a lot😭😭😭😭 it so hard but this make me finish my hell’s homework😭😭😭😭😭 THANK YOU VERY MUCH😭😭😭
@itzervo3159
@itzervo3159 Год назад
Great video!
@Shakeel_Nawaz
@Shakeel_Nawaz Год назад
I was practicing RecyclerView and stuck in a point. Just watch this half video and my problem got solved. Thanks for detail explanation.
@lovethisscene2820
@lovethisscene2820 2 года назад
i have watched this video today but i have got a picture how recycler works great work
@sensationalopie
@sensationalopie 2 года назад
This video rules, thanks for the help.
@jeffscottrankentechnicalco8834
@jeffscottrankentechnicalco8834 2 года назад
Just curious. I found your tutorial after I started doing my own project that is similar in nature to your Java Android ReyclerView application. However, whenever I run my app, I get a Resource Compilation Error. When I Google this error, it says it can happen for a variety of reasons. I was just wondering if you make your source code available for this project under GitHub or somewhere else. Thanks either way.
@kiarieamos
@kiarieamos 2 года назад
I want to like this video twice or simply more than once
@ios_engineer
@ios_engineer Год назад
Thanks for great content.
@PracticalCoding
@PracticalCoding Год назад
Glad you liked the video!!
@foreverskeptical1
@foreverskeptical1 Год назад
Commenting cause of how impressive the content and quality was
@mugilan9257
@mugilan9257 11 дней назад
outstanding 👍
@Vladimir00505
@Vladimir00505 2 года назад
Реально молодец, сразу видно что человек старался: я почти всё понял даже не зная Английского языка (знал бы - понял всё ). Так держать!
@PracticalCoding
@PracticalCoding 2 года назад
Thanks for the compliment! Always good to hear people are getting value from the videos I post
@aladinjunior4979
@aladinjunior4979 Год назад
bro.. u are a god
@leetondida
@leetondida 2 года назад
Thank you very much bro.....wish i could hug you right now🙂🙂🙂
@gurubhai4918
@gurubhai4918 Год назад
awesome dude ☺️😎
@gurubhai4918
@gurubhai4918 Год назад
could you pls post a video on custom claims to manage different user roles in firebase Authorization and switch case to redirect the users to different activities based on their user role ?
Далее
RecyclerView Item Click | Best Practice Way
8:06
Просмотров 90 тыс.
RECYCLERVIEW - Android Fundamentals
24:58
Просмотров 100 тыс.
Arigato !! 😂
00:11
Просмотров 3 млн
RecyclerView | Everything You Need to Know
16:19
Просмотров 3,9 тыс.
RecyclerView - Android Studio Tutorial | Part 1
16:44
Просмотров 260 тыс.
What's new in Android development tools
43:40
Просмотров 23 тыс.
Simple Explanation of RecyclerView in Android
8:35
Просмотров 24 тыс.
Heel
0:12
Просмотров 5 млн
He Crashed in the Water!
1:01
Просмотров 14 млн
МОЩЩЩНОСТЬ ZEEKR 001 FR
0:46
Просмотров 696 тыс.
Forging a cool BBQ Fork
1:00
Просмотров 13 млн