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!
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.
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
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
Hello sir. I would like to ask how I should change the codes at the line if (food != null) {....} since my 2nd activity contains only fragment container view and no image nor text?
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
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!
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.
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
It works, just did it using fragments instead of activity because im using a navegation bottom bar. Works fine for me !
can you tell me how you did it please?
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
It really helped me learn a lot. Simple and very beginner friendly .
😶no words just "Thanks 🇮🇳 UA-camrs"
Excellent Work Sir
thanks, very useful!! , new subscriber
THANK YOU VER WELL DONE VIDEO, EASY TO FOLLOW
great video, and very useful the clicklister with parcelable
çoook yardımcı oldu çok teşekkür ederim
useful and clean explain thx dude
your code is deprecated in news glades
Thank you very much. Very helpful
it worked thanks a lot!
very useful , thank you
Nice work bro, u help me!
Bro, why in main activity i cannot find onItemClick? Its just not there I cannot use it
Muchísimas gracias. Salvaste mi vida
thanks bro , thats info what i search
Hello sir. I would like to ask how I should change the codes at the line
if (food != null) {....}
since my 2nd activity contains only fragment container view and no image nor text?
sir ads integration in recyclerview par video banaiye pls, and then reward and banner ads, pls
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?
Thank you sir!
Thanx a lot bhaaai
get parcelable extra is deprecated . Now what i can do??!! pls help sir
Did you find an answer? Looks like there is an alternative version that has just a slightly different signature.
dont mind it, it works fine even if its deprecated
@@mattdyor2040 it works even with the deprecated
Do you have same type of video in java?
Is it possible to make part of the text that we add to the list bold
bro can you please tell me what theme of android studio are you using and what emulator are you using ?
One dark theme
Thank you 🙏
Whats the version of android studio of this sir?
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
what if i want different action on clicking the image of food and different action on clicking a whole view ???
Same question 🙋 please help
Add different click listeners one on imageview and one on whole itemview
@@codingstuff070 okay,thank you sir
@@kundangupta1333 you got how to do that ?
@@desihiphop4998 yes,in place of itemview.setonCliclister just put imageid.setonclicklister {},I think this way we can implement
'getParcelableExtra(String!): T?' is deprecated. Deprecated in Java 😢😢😢😢😢😢
Thankyou so so much !
exelente parabéns!!!!!!!!
super
Show me your manifest, please!
thank bro
pls can you share source code.
I just wish there was a github link