RecyclerView With Item Click Listener in Kotlin : ( Android Tutorial 2022 )

preview_player
Показать описание
Hey Developers, In this video we will learn how we can implement recyclerView in kotlin.

Connect with us -

Рекомендации по теме
Комментарии
Автор

Thank you! I think this is the cleanest solution I've found so far. You can implement a listener using an Interface, but this, in my opinion, is a cleaner solution. I am guessing this tutorial is aimed at somebody who is already familiar with Kotlin, hence why some parts are not explained. But if like myself, you are new to Kotlin, what he does at 12:30 is he declares a "function type" that takes an object of type food, and returns Unit (which is an equivalent of void in Java) and then he makes this function type nullable (hence the parentheses) and then initializes it to null. If you are coming from the C# world, it's basically an Action Delegate. I found that part confusing in the tutorial, so if you are in the same situation, I hope this explanation helps. Thanks again for the tutorial, CodingSTUFF!

georgeti
Автор

You are a savior. For days I've been trying several ways to move through my nav graph (fragments) using recyclerview clicklisteners and you just showed me the solution. Thanks a ton buddy. Awesome work.

chanliol
Автор

It really helped me learn a lot. Simple and very beginner friendly .

enlost
Автор

I watched many video tutorials and all of them didn't work for me and they looked very complicated, unlike your video it's very easy to implement and works without problems really you are amazing

زيد_اليماني
Автор

great video, and very useful the clicklister with parcelable

rinorobot
Автор

hello sir
Explanation was great...i've searching whole youtube for like this video who could explain the concepts with simple constraints and with good explanation..

Thank you so much sir

akhiltherock
Автор

THANK YOU VER WELL DONE VIDEO, EASY TO FOLLOW

sisoMK
Автор

It works, just did it using fragments instead of activity because im using a navegation bottom bar. Works fine for me !

sisoMK
Автор

çoook yardımcı oldu çok teşekkür ederim <3

nihalbahadir
Автор

thanks, very useful!!, new subscriber

CHACHANUS
Автор

your code is deprecated in news glades

lglf
Автор

😶no words just "Thanks 🇮🇳 Youtubers"

Mohit-ilgx
Автор

Bro, why in main activity i cannot find onItemClick? Its just not there I cannot use it

did..you..know.
Автор

Is it possible to make part of the text that we add to the list bold

vizliu
Автор

i just want to When we click on an text or button in the detailedactivity section, I want it to go to a url page, how can I do it?

mertcantopcu
Автор

Do you have same type of video in java?

Vtx-exbf
Автор

sir ads integration in recyclerview par video banaiye pls, and then reward and banner ads, pls

deepeshkumar
Автор

how can i pass data between 2 recyclerview with firebase no one made video about this issue can you make video about this. If you dont want to make video about this issue can you tell me how can i pass data between 2 recyclerview with firebase

Kwv
Автор

bro can you please tell me what theme of android studio are you using and what emulator are you using ?

noufelnaili
Автор

Whats the version of android studio of this sir?

JosephVillariasa