I am new to android development and learning viewbinding got confused why my synthetic is not working .............. Now it is ressolved .............. Hats off to you man
@dura39333 жыл бұрын
Thank you very very much for your good explanation. You tell about what it's like in the past and then explain about the issue. I have been confused about this issue for 2 days and your video really help me. I just started learning online course of kotlin and android studio but the course is a bit old and not up to date. Thank you so much.
@RahulPandeyrkp3 жыл бұрын
So glad to hear that 🤗
@47joshua3 жыл бұрын
2,776 views really!! this is one of the best Android ViewBinding tutorial in youtube🔥🔥
@RahulPandeyrkp3 жыл бұрын
wow, thank you!
@coolsai3 жыл бұрын
This is going to save lot of time ! thanks for the video
@damercy4 жыл бұрын
Thanks for this explanation man! I have been hearing about view binding but it was so confusing until now. ✌️👌 On a side note, would you be making a playlist on kotlin higher order functions, different use cases of with, apply etc anytime soon? Would love a quick video on that! 😄
@RahulPandeyrkp4 жыл бұрын
I was planning to make a Kotlin video, but hadn't planned to cover that specifically. Will add it to my list!
@damercy4 жыл бұрын
@@RahulPandeyrkp Awesome! Thanks a ton! 😄
@gajendrapandeya50814 жыл бұрын
Sir please make a video on themes that are auto-generated in new android studio project Which color is applied to what ?
@RahulPandeyrkp4 жыл бұрын
I can add that to my list. Might wait a while so everyone can adopt the new Android Studio and there's less confusion 😂
@gajendrapandeya50814 жыл бұрын
@@RahulPandeyrkp 😂 thanks sir
@ethiomusic31582 жыл бұрын
I am getting bored to go with changeable syntaxes. Should I change all my former project works by checking everything??????... Migration from Java to Kotlin may be good by default but putting codes for each former works here???... I know you are smart tutorial instructor. What do you advise us to go with such boring programming or app development task?
@RahulPandeyrkp2 жыл бұрын
I'm not sure I understand the question. In general with software engineering, if something works, don't touch it.
@ethiomusic31582 жыл бұрын
@@RahulPandeyrkp I want the Google AdMob on my app and it requested me metadata gradel. No matter for this and the problem is binary problem. I changed the version of Kotlin. Then it come again deprication of extension to parcel. And it disturbed many of my codes. How could I solve it easily? Can I keep metadata with extension? Is there any other possible solution? I have gone back to my former extension now.
@kdev49083 жыл бұрын
Why viewbinding is still not enabled by default? Any downsides?
@RahulPandeyrkp3 жыл бұрын
I think it's still considered an "advanced" feature since it requires some clean up in the destroy lifecycle event
Hey I have been using view binding since this video and their was no problem until now, when I use view binding the root layout margin don't work what is the reason for that?? So to overcome this I use 1 extra root layout and put margin in that ..and I know this is not good way of doing this so what should I do??
@RahulPandeyrkp3 жыл бұрын
You should be able to get a reference to the root view- can you do it through the getRoot() method on the binding object? As documented here: developer.android.com/topic/libraries/view-binding#usage
@starkhunt26842 жыл бұрын
Thanx for the explanation bhai, great video
@Saptarshi88 Жыл бұрын
your video helped me a lot.. I was trying to figure this out for almost 2 days. Not it is fixed. Thanks a lot
@immersivevr36053 жыл бұрын
how to implement viewBinding in Fragments , some lifecycle differences are confusing and there are not many tutorials as its new...
@RahulPandeyrkp3 жыл бұрын
Here's the article: developer.android.com/topic/libraries/view-binding#fragments
@coolsai3 жыл бұрын
very helpful video !
@RahulPandeyrkp3 жыл бұрын
thank you!
@victorsubbiah6077 Жыл бұрын
name of this plugin is confusing. 'Android-Kotlin-Extension-Gradle-Plugin'.
@almoni1273 жыл бұрын
Great and clear video. Helped a lot!
@RahulPandeyrkp3 жыл бұрын
Glad to hear that 🤗
@almoni1273 жыл бұрын
@@RahulPandeyrkp BTW, I'm familiar with C# where they simply have a generated part of the class in another file. I wonder why this wasn't the solution here.
@RahulPandeyrkp3 жыл бұрын
in fact, with viewbinding, the Android system generates a binding class for each XML layout file!
@oluwaseunfatusin26966 ай бұрын
Thanks you boss. Respect🙌
@burakcanduzcan3 жыл бұрын
couldn't they keep it as cool as before? :/
@RahulPandeyrkp3 жыл бұрын
they were trying to address some of the challenges with the automatic kotlin extensions approach - I know it's more code :/
@Mohit-gb9dv4 жыл бұрын
Please start a flutter series 😄 and if you are going to start please post in community
@RahulPandeyrkp4 жыл бұрын
will certainly do that if I get around to learning flutter 😋
@adamdeane46754 жыл бұрын
@@RahulPandeyrkp Android Native for the win!
@ashishgautam28424 жыл бұрын
Cool explaination 🤘🤘
@shrinathoza60563 жыл бұрын
Very very helpful👍🏻👍🏻 and Level of explaination is 🔥...thank you
@RahulPandeyrkp3 жыл бұрын
Glad it was helpful!
@ShadowX5GamerQ84 жыл бұрын
thx for this explanation bro
@RahulPandeyrkp4 жыл бұрын
My pleasure 🎁
@oscarrenan2 жыл бұрын
The records can have, in the same database, a url of the web image and make a listing, using a cardwiew with the records and associated image, looking for the image of the url to show next to each record ? answer so I can see doing this I'm in an internship and they asked me for an app with this and I can't find how to do it even in the manual, someone must have kept a secret about it. Not even andoid means how to do it The company is looking for someone to hire who knows how to do this for them, can you do it? Show.