RecyclerView | Everything You Need to Know

Поделиться
HTML-код
  • Опубликовано: 26 июн 2024
  • 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
  • ХоббиХобби

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

  • @Alexander_Grant
    @Alexander_Grant 2 года назад +153

    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 года назад +34

      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
      @christopherjaysonpanerio3189 Год назад

      @@PracticalCoding bro thank you so much

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

      I agree

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

      true

  • @mohab35
    @mohab35 2 года назад +11

    I rarely press the like button for a RUclips video, but this one deserves it with honors.
    You are a life saver to me, sir.
    My warm greetings from Egypt.

  • @dominiclotz9829
    @dominiclotz9829 2 года назад +13

    You have saved a couple university students with this video! Thank You!

    • @PracticalCoding
      @PracticalCoding  2 года назад +1

      Good to hear!

    • @kaismaqbool
      @kaismaqbool 10 месяцев назад

      Sir please post a video on searchview for the same recycler view example. Please

  • @i_GHOST
    @i_GHOST 2 года назад +16

    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 Год назад +6

    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.

  • @diafreak3634
    @diafreak3634 10 месяцев назад +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 5 месяцев назад +1

      I was surprised too, it means his IQ is clearly above the 135 level

  • @solardex540
    @solardex540 Год назад +2

    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 :)

  • @arek9430
    @arek9430 Год назад +1

    I have watched a few recyclerview tutorials, but this one, with your patience, passion and performance is best so far.

  • @salimex3987
    @salimex3987 11 месяцев назад

    Dude, you're the best. Clear, practical, concise tutorial. That's real education. Bless you

  • @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!

  • @CforChillandCheese
    @CforChillandCheese Год назад +1

    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.

  • @taylorteddy7187
    @taylorteddy7187 7 месяцев назад

    Bro your videos have the clearest explanation about android studio concepts that I can find on RUclips. 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!

  • @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

  • @drcl7429
    @drcl7429 Год назад +9

    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  Год назад +1

      Thanks for the compliment! Glad you found the video helpful

  • @Soner_Dev
    @Soner_Dev 2 года назад +1

    Super detailed tutorial. Finally someone explains how exactly everything works! :)

  • @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.

  • @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 RUclipsr that you can both hear AND understand!

  • @chupa-pupa1
    @chupa-pupa1 Год назад

    this is just gorgeous. i love it! please keep making such content!!! the adapter pattern is really in place here. thanx!

  • @umairhassangondal3518
    @umairhassangondal3518 11 месяцев назад

    Seriously, the best explanation of RecyclerView so far.

  • @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!

  • @user-kc9cn5js1u
    @user-kc9cn5js1u Год назад +1

    Mate, this video is actually the reason I pass my exam. Continue your video, I never seen a better tutorial on YT.

  • @idrios
    @idrios 2 года назад +22

    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 Год назад +1

      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.

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

    Omg, this is the most detailed recycler view tutorial that I've watched.

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

    I found the hidden gem and the best channel for modern android studio tutorial, guides and tips.

  • @ehans474
    @ehans474 9 месяцев назад

    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. :)

  • @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!

  • @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 :)

  • @dmhub21
    @dmhub21 2 месяца назад

    This is comprehensive, and profession oriented. you made my carrier one level up now

  • @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.

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

    you're my android teache now! thank you for explaining this, i understood it word for word

  • @aungaungoo6947
    @aungaungoo6947 4 месяца назад

    Most amazing content about RecyclerView.This tutorial is gold.

  • @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

  • @Mousoukyou
    @Mousoukyou 7 месяцев назад

    Thank you so much for this tutorial, and for explaining everything so thoroughly.

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

    Very good explanation and very clear English-speaking. Thank you so much!

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

    Thank you so much! it helped me so much to understand about recyclerview- especially, when you explain each method in adapter. Subscribed!

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

    Many thanks! :)
    Best RecyclerView Tutorial so far

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

    nice.. I got my own recyclerview effortlessly after watching this video. Keep it up! and thanx

  • @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

  • @haneenal-hajjiahmed9515
    @haneenal-hajjiahmed9515 2 года назад

    I enjoyed watching the video till the end and the explanation was comprehensive.
    thank you very much.

  • @robinpetersson3081
    @robinpetersson3081 7 месяцев назад

    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.

  • @MyurrDurr
    @MyurrDurr 8 месяцев назад

    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

  • @obafemiopeyemi3203
    @obafemiopeyemi3203 4 месяца назад

    This really helped me understand how Recycler Views work. Thank you

  • @demiantah3179
    @demiantah3179 3 месяца назад

    I spend about 4 hour looking for a good video talking about recycled views, thanks, honestly !

  • @eldervar4355
    @eldervar4355 2 года назад +1

    Thanks mate. Very well explained. It helped me a lot!

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

    Such an amazing explanation of really a hard theme. You really helped me out with my own app. Thank you very much!

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

    Amazing bro. You are a real geek Android developer & instructor

  • @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.

  • @yovanybartolome91
    @yovanybartolome91 Год назад +1

    Good stuff bro! Currently working on a project and this video helps a lot!

  • @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.

  • @jemshaljohnpaul8230
    @jemshaljohnpaul8230 3 месяца назад +1

    explained like a charm!!

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

    Really a good tutorial. I followed it step by step and easily made it! Thanks a lot!

  • @loaysa216
    @loaysa216 8 месяцев назад

    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.

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

    Very helpful with my current job. Thanks.

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

    You're a lifesaver man! Thank you so much

  • @ozas5922
    @ozas5922 9 месяцев назад

    perfect explanation, tysm

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

    Keep making videos man, love them !

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

    Superb video and excellent editing. Thank you for making these videos :)

  • @thegameisneverover7558
    @thegameisneverover7558 2 года назад +1

    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

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

    This is just what I needed!

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

    Very good tutorial in comparison to other tutorials about RecyclerView. Thanks!

  • @alliwantforxmasismoneynandyou
    @alliwantforxmasismoneynandyou 4 месяца назад +1

    Thank you😭😭😭 this video help me a lot😭😭😭😭 it so hard but this make me finish my hell’s homework😭😭😭😭😭 THANK YOU VERY MUCH😭😭😭

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

    Thanks man, very clear video, nickel chrome

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

    The only video that helped me to understand it clearly

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

    Very Well Explained.... Keep uploading such informative content..

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

    thanks man , much love

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

    Awesome tutorial, helped me with my project. I am going to watch the item click video now!

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

    That is the best recylerview tutorial i've ever watched

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

    This video was so helpful! Thank you!

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

    such great tutorial! Thank you so much! You did help us a lot!

  • @Keepfaith101
    @Keepfaith101 4 дня назад

    Thank you very much for this video! It helped me a lot with my project.

  • @saksham_965
    @saksham_965 Год назад +1

    Here I am after wasting a whole day tryna figure out RecyclerView.
    Only if I had seen this video sooner...
    Great Content! You Earned a Subscriber.

  • @user--10552
    @user--10552 Год назад

    Thank you so much ,you're the best .

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

    Thank you so much for the explanation🙏

  • @user-zl3kc3pp6w
    @user-zl3kc3pp6w Год назад

    Wow you're genius!!! Thanks for great explanation, this video saved my life !!!!!

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

    Very helpful! Thank you so much

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

    really good one thanks for sharing this

  • @mrcibz7044
    @mrcibz7044 3 месяца назад

    very good video, helped me so much!!

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

    Well explained man 👏👏

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

    finally got it, thanks

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

    Thank you.. What a big help

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

    Great video!

  • @FRENEMIE.mp3
    @FRENEMIE.mp3 Месяц назад

    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.

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

    Great Tutorial

  • @LK2LD
    @LK2LD 9 месяцев назад

    Thank You so much for this video , u really made the recyclerView simpler , now I don't have to memorize everything .

  • @ebi7hosseinpour902
    @ebi7hosseinpour902 2 года назад +1

    It’s amazing 🤩 thank you 🙏

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

    I want to like this video twice or simply more than once

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

    Commenting cause of how impressive the content and quality was

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

    This video rules, thanks for the help.

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

    Thanks for great content.

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

    bro.. u are a god

  • @prof.werbethcunha3325
    @prof.werbethcunha3325 Год назад

    Muito bom, parabéns por compartilhar seus conhecimentos com os iniciantes em programação.

  • @mugilan9257
    @mugilan9257 Месяц назад

    outstanding 👍

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

    i have watched this video today but i have got a picture how recycler works
    great work

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

    Best tutorial ever.. but on click listener is little bit fast. This one is perfect ....

  • @charithmalaka8918
    @charithmalaka8918 2 года назад +7

    Wonderful video and thank you ... can we change language ? In same item row ?? I mean in a single item row multiple languages ??

  • @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 ?

  • @maximonderman
    @maximonderman 9 месяцев назад

    👋👋👋 You are the best!

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

    Nice work