RecyclerView Android Studio | Beginner's Guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 เม.ย. 2020
  • In this video I show you how to use a RecyclerView to display list items with a TextView. This method is very simple and suitable for beginners.
    Part two - • RecyclerView OnClickLi...
    I will show you how to set up a custom recyclerview adapter. This tutorial will take you step-by-step through the process.
    If you have any questions or queries, feel free to comment below!

ความคิดเห็น • 48

  • @Ben_obrien
    @Ben_obrien  4 ปีที่แล้ว +7

    If you have any requests on what tutorials you want to see, just leave a comment below! Thanks for watching :)

    • @gradycody9006
      @gradycody9006 3 ปีที่แล้ว

      Not sure if anyone cares at all but last night I hacked my girl friends Instagram password by using Instaplekt. Cant link here so search for it on google if you wanna try it

    • @jedidahmed
      @jedidahmed 2 ปีที่แล้ว

      Can you make it light mode and zoom

  • @magyaom7102
    @magyaom7102 3 ปีที่แล้ว +2

    Thank You Ben, that was super useful!

  • @junglechungle
    @junglechungle 2 ปีที่แล้ว

    Great video, learned a lot about Android Studio as well

  • @ProfGustavo
    @ProfGustavo ปีที่แล้ว

    The best guide for RecyclerView... Congratulations!!!

    • @drcl7429
      @drcl7429 ปีที่แล้ว +1

      really? Doesnt explain why you need to do it like this. Once I understand it I will make a superior video so others can actually understand the concepts.

  • @emiliomanzotti1810
    @emiliomanzotti1810 3 ปีที่แล้ว

    Super helpful!!!!!! Thank you so much

  • @rodrigorivas3103
    @rodrigorivas3103 4 ปีที่แล้ว +1

    Thank you very much! I was searching for that was a time. Is exactly what I want ^^

    • @Ben_obrien
      @Ben_obrien  4 ปีที่แล้ว +1

      No problem dude! Part two coming soon :) Subscribe for more!

  • @ruialbe
    @ruialbe 5 หลายเดือนก่อน

    Thanks, very helpful !

  • @tedytedy8918
    @tedytedy8918 3 ปีที่แล้ว

    you are awesome - well explained!

  • @stifflery
    @stifflery 2 ปีที่แล้ว +4

    Great video man!
    To others,
    If anybody isn't seeing all the content of list on screen, make sure recyclerView's layout height is set to 'wrap content' in activity_main.xml.

  • @followying392
    @followying392 2 ปีที่แล้ว

    So great to watch !

  • @theblindprogrammer
    @theblindprogrammer 3 ปีที่แล้ว

    Thank you for sharing with us your tutorial.

  • @carlosquintero7038
    @carlosquintero7038 ปีที่แล้ว

    Bro, you saved my life

  • @rodrigovalenca2401
    @rodrigovalenca2401 2 ปีที่แล้ว

    Best video! You rock!

  • @poriyaabdollahi5554
    @poriyaabdollahi5554 3 ปีที่แล้ว

    its was very good Thank you very much

  • @Tenndrago221
    @Tenndrago221 3 ปีที่แล้ว +2

    Thank you very much, This video is very helpful. I was wondering that is there any way to add images to the setItemInfo method in the MainActivity?

  • @manabsaha5336
    @manabsaha5336 2 ปีที่แล้ว

    Short n Perfect

  • @nomanhussian1488
    @nomanhussian1488 4 ปีที่แล้ว

    Really helpful thank you brother

    • @Ben_obrien
      @Ben_obrien  4 ปีที่แล้ว

      Thanks man, subscribe for more 😊

  • @TheMewzak
    @TheMewzak 2 ปีที่แล้ว

    Very Helpful!
    I somehow continue to get errors pertaining to "No adapter attached; skippiing Layout" More debugging to do, I suppose.

  • @otherside9796
    @otherside9796 ปีที่แล้ว +1

    Thx!

  • @michaelwilson5975
    @michaelwilson5975 3 ปีที่แล้ว

    Thank you.

  • @9sIota
    @9sIota 6 หลายเดือนก่อน

    Super helpful. Way better than my "professor" at uni who couldn't even explain to do something as simple as binding the adapter.

  • @7906jun
    @7906jun 3 ปีที่แล้ว +28

    Too fast for a beginner. 10+ minuets of just writing code with bare minimum explanation for the bigger picture.

  • @arsharifuddinjumman8590
    @arsharifuddinjumman8590 ปีที่แล้ว

    Thanks bro

  • @user-bz2sh6xm7j
    @user-bz2sh6xm7j 3 ปีที่แล้ว

    hi , if I want to put a person name and image
    how can a put the image ? thanks for your time

  • @stevenyee1944
    @stevenyee1944 ปีที่แล้ว

    All you TH-cam dev should always add the code in the description. But thanks

  • @jaykay7932
    @jaykay7932 3 ปีที่แล้ว

    Totally new to android here! Ive tried a few official android tutorials on this subject and room DB, none of them work!
    I managed to get this working so thankyou for that! Im trying to emulate a database scenario of CRUD.
    So ive modified this example so far and created a ADD button. Now i am attempting to implement a DELETE button (using the array index as the row ID). How the heck do i pass the id of the row to the onclick of the delete button??

    • @jaykay7932
      @jaykay7932 3 ปีที่แล้ว

      I solved the problem by myself. Setting the array position to the "tag" attribute of the DEL button. I then use that as the index value in my element remove method

  • @Back2Pal
    @Back2Pal 2 ปีที่แล้ว

    Thanks for tgis video.
    If i have rtl language how to make recycleview change it's derictiin to rtl or ltr according to the language direction? Or it will change the direction automatically?
    Thanks in advanced

  • @yashrajsinghjadon9396
    @yashrajsinghjadon9396 3 ปีที่แล้ว

    how to insert date picker inside recycler view..

  • @mariajoserivas580
    @mariajoserivas580 3 ปีที่แล้ว +1

    Hi ben, this is very helpful but I have the next error message:
    " java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.fragmentspractice/com.example.fragmentspractice.comunicados.ComunicadoMain}: java.lang.NullPointerException: Attempt to invoke virtual method 'void.androidx.recyclerview.widget.RecyclerView.setLayoutManager(androidx.recyclerview.widget.RecyclerView$LayoutManager)' on a null object reference "
    I have checked the code many times and I don't know what's wrong... ;/ please help me ! and thank for your video!

  • @sarinahemmatpour5859
    @sarinahemmatpour5859 3 ปีที่แล้ว

    Great

  • @CodingAhead
    @CodingAhead 2 ปีที่แล้ว +1

    Best

  • @anonymous-8001
    @anonymous-8001 2 ปีที่แล้ว

    I have just completed part 1 and only the first line "username" and "John" appears. The other 2 names just refuse to appear. And I got no errors in my project. Can I send you my project?

  • @anonymousentity5106
    @anonymousentity5106 ปีที่แล้ว

    Would even be more awesome if you gsve some explanation on what each section does so we are not just blindly copying

  • @DontEatRice
    @DontEatRice 2 ปีที่แล้ว +3

    bro just use shift smh

  • @mariemariaa
    @mariemariaa 4 ปีที่แล้ว

    i can’t get the grey “username” part. can someone explain how it works?(9:15) thanks in advance

    • @reza6175
      @reza6175 3 ปีที่แล้ว

      you should not write those grey words. its android studio guid. (android studio writes these words to help you )

    • @sircraigli1003
      @sircraigli1003 2 ปีที่แล้ว

      Also it indicates that the constructor of User was designed with username so it guides you on the acceptable parameters.

  • @aleksandretvaradze7178
    @aleksandretvaradze7178 3 ปีที่แล้ว

    t = sh

  • @tateghoul
    @tateghoul ปีที่แล้ว

    eh................. its a lot goingyon here i'm even more lost lol