Android RecyclerView With CardView and OnItemClickListener Example | RecyclerView OnClickListener

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • Hello Guys, welcome to my #codingwithdev channel In this tutorial we learned how to create RecyclerView with CardView and OnItemClickListener used Programtically in our Android App Step by step....
    Please 👍𝐋𝐢𝐤𝐞 ,👤𝗦𝗵𝗲𝗮𝗿,✎𝐂𝐨𝐦𝐦𝐞𝐧𝐭 And ☝𝐒ᴜʙ𝐒ʀɪʙᴇ My 𝗬𝗢𝗨𝗧𝗨𝗕𝗘 Channel
    𝗰𝗹𝗶𝗰𝗸 𝗳𝗼𝗿 𝗺𝗼𝗿𝗲 𝘃𝗶𝗱𝗲𝗼𝘀 - / codingwithdev
    Source code - github.com/dev...
    Follow 𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤 - / coding-with-dev-101018...
    Follow 𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦 - / codingwithdev
    Follow 𝐆𝐢𝐭𝐡𝐮𝐛 - github.com/dev...
    Follow 𝐌𝐞𝐝𝐢𝐮𝐦 - / devendrac706
    𝐅𝐨𝐫 𝐁𝐮𝐬𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐪𝐮𝐢𝐫𝐢𝐞𝐬
    -codingwithdev@gmail.com
    𝐒ᴜʙ𝐒ʀɪʙᴇ My 𝗬𝗢𝗨𝗧𝗨𝗕𝗘 Channel #𝗰𝗼𝗱𝗶𝗻𝗴𝘄𝗶𝘁𝗱𝗲𝘃 for more latest videos..
    / codingwithdev
    Thank You :-)
    #Androidstudio #androidstudiotutorial #recyclerview #cardview #onitemclicklistener #desing #listview #android recyclerview onclicklistener
    #android studio tutorial - recyclerview with multiple view types
    #android display list of items
    #show list on recyclerview using android
    #android show list on recyclerview
    #recyclerview onitemclicklistener example
    #androidcardviewexample
    #androidstudiotutorialsforbeg
    #androidstudiotutorialforbeginners2022

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

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

    I was facing error in onClick
    But this video solve my issue
    Thanks 😊

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

      Hi How to solve the onClick features.....

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

    How to navigate to other fragment when click on recyclerview item? Can we assign different fragment to each recyclerview item?

  • @doniabensedrine343
    @doniabensedrine343 3 ปีที่แล้ว +4

    thank you , that was helpful , and thank you for giving us a source code , i reaaly didn't have time to rewrite everything from scratch , i reaaly needed a source code , thank you so much

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

      @donia ben sedrine thanks for ur valuable response

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

    Thank you, you saved my life

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

    best example

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

      Thanks for ur valuable response

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

    thanks, it helped me a lot

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

    Thanks

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

    THANK YOU SO MUCH!!!!!

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

    Thank you bro, you solved my problem. Thank you very much..

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

      Thanks for ur valuable response 😊

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

    Thanks a lot!! I wanted to know how to pass MovieData arguments through a for loop

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

    I have an error...
    Caused by : java.lang.RuntimeException: Manifest merger failed with multiple errors,see logs .... It's urgent

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

    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

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

    my recyclerView just showing a gray image with text “android...RecyclerView” ?

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

    thank you brother, helped me out❤💯🙏

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

      Thanks for ur valuable response 😊

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

    Do a tutorial when they're clicked they would go to a next activity please

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

    WORKED ! Thanks a lot bro

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

      Thank you so much for ur valuable response

  • @xuejouchng5366
    @xuejouchng5366 10 หลายเดือนก่อน

    if i create an event listing, how to return "register successfully" when on click

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

    Amazing, could you please help me: when I click on the card View I want to open a new activity. I tried to do it with the java file but couldn't. I am a beginner. Thanks.

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

    Hello , nice tutorial , thank you so much , I have a question for you , I would be glad if you answer , I created avengers, Venom, Batman, Jumanji, good deeds, Hulk, Avatar, For these - Empty Activity -
    When I go in and out of Avatar Activist - I want it to stay on the avatar - But it carries me up (to the Avengers) - how can i solve this problem - please help me

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

    Help how do I limit a button click, and how do check for an onclick event equals true or false?

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

    hi,I want to know how to add my customer data from dialog to myMovieData

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

    Please , what event to add to retrieve when I slide my finger over an item

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

    i cant find it anywhere!!! how can you make that exact same app but when you click on it, it opens up full screen?? please help

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

    Hi can i get a quick response ?
    how can i make the click take me to another layout

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

    Sir how can we insert share button in this app for sharing images

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

    Isme aur code karna padega kaya.other images ka bcz show only one image

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

      Nahi already sab code kiya huva he...Niche description me github ka link diya he waha se bhi app code check kr sakte ho...

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

    Guys do you know the update dependencies for this?

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

    Sir please make new tutorial series

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

      @kiran , sure definitely👍

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

    How can i give google form link inside cardview

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

    Hello Sir, recycleview m like btn ko agar click kare toh woh liked ho jaye.. yeh kaise hoga sir.. maine try kiya on bind viewholder ke function m lekin woh setText() ke method se liked toh ho jata h lekin eoh agle dusre like btn ka text bhi liked ho jata h iska solution sir.

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

      Hello Jitender , OnBindHolder ke function ke aandar aap ye code kr sakte he..
      holder.likeButtom.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) {
      holder.textView.setText("Like");
      } });

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

      @@CodingwithDev sir agar m apk send karo jisme ek button par like karte h toh woh agle 5 ve ya 6 th element par bhi effect dalta h... apka whatsapp no.

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

      jis item ko like liya whi item like hona chahiye ...yhi krna he ......to simple upper wali coding kr sakte ho ....
      Aagar kuch samjhme nahi aaya to muze codingwithdev@gmail.com aapka project zip krke bhej sakte ho muze jaise time mile me aapko krke dunga ...Thank you

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

      @@CodingwithDev ok sir thanx.

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

      @Jitender , i have solved ur error.. please check ur mail box i have send java file ...
      Please Like ,and subscribe my channel... and also shear on ur friends circle..Thank you :-)

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

    Do you have the source code file?

  • @Bmw-ky3mg
    @Bmw-ky3mg 3 ปีที่แล้ว

    how to OnClickListener firebase To New Activity ❤️🌹

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

    wonderful, but i can't download the source code :(

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

      Hello En Mohamed Ali, i will provide my medium blog....i hope its helpful....
      link.medium.com/avOITSRYf8
      & and also have provide GitHub link on description..
      Thank you

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

      @@CodingwithDev Thanks alot

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

    Where is onItemClickListener bro in this video

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

      Please check adapter class ..

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

      @@CodingwithDev ok bro ❤️🙏👍

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

    ItS showing null object reference error

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

      Please check source code link on description..I hope it's very helpful for u...

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

    Where to put intent to go to the next page

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

      U can call another activity on inside OnBindViewHolder ......

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

    sir i have error ; in viewholder ,please

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

      Please check source code on my video description ...I hope it's very helpful .... thank you

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

      @@CodingwithDev i copy paste the source code and the error in viewholder so what i can do? Please sir

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

    why only 1 recycler shown?

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

      Please Check recyclerview item layout Parents layout height is warp_content or not ....

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

      @@CodingwithDev yes wrap_content sir

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

      @@CodingwithDev oh I can see it already, but why is the scroll distance too far?

  • @Aminkhan-gh3vl
    @Aminkhan-gh3vl 3 ปีที่แล้ว

    why are you making fool to people you have mentioned setOnitemlistner and you are onclicklistner