Without using findviewbyid access the ID's of XML file in Kotlin file - Android Studio 4.1.1

  Рет қаралды 8,090

Dr. Parag Shukla

Dr. Parag Shukla

3 жыл бұрын

This video demonstrates step by step how to access ID's of XML file in kotlin file of Android Studio 4.1.1 without using findviewbyid.
In android studio version earlier then 4.1.1, we can access ID's of XML directly in kotlin file. But, android version 4.1.1 onwards you need to set the plugins as mentioned in video to avoid the use of findviewbyid.
Keep Learning
Thank You

Пікірлер: 101
@anooruproy3670
@anooruproy3670 3 жыл бұрын
You are great sir. To good. Please don't stop teaching.
@DrParagShukla
@DrParagShukla 3 жыл бұрын
Thank You so much Yes Sure
@cwsg
@cwsg Жыл бұрын
Thank you so much you saved my life man. I've been looking for this solution like 2 days and i couldn't find anything on internet except this video. So thanks.
@DrParagShukla
@DrParagShukla Жыл бұрын
Glad that it helped. Please share to needy. My Pleasure
@jenil151
@jenil151 3 жыл бұрын
I spent about 2 hours as I saw an instructor using I'd directly was frustrated and was about to use findviewbyid but but but saw your and problem fixed!!! Thankyou so much!!!
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
@HeavyWhipnCream_
@HeavyWhipnCream_ 3 жыл бұрын
I spent hours reading things online on how to fix unresolved reference errors! I had to walk away from my desk I was so frustrated lol! I wish I found this video sooner!!!
@nizabrindavan2809
@nizabrindavan2809 2 жыл бұрын
Thanks a lot sir, most of the videos said to add kotlin-android-extensions in the plugins {} but the apply plugin worked Thanks...
@DrParagShukla
@DrParagShukla 2 жыл бұрын
My Pleasure
@bootcamprag
@bootcamprag 3 жыл бұрын
Wow. Thanks for this tip. I was getting frustrated trying to figure out how to access my objects.
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
@sankalpwalke9446
@sankalpwalke9446 3 жыл бұрын
Sir Thank you So much I was having a problem importing the XML text in MAIN. Activity I searched about it for 4-5 hours. But anywhere I didn't get the solution. THANK YOU so much!!!🙏🙏🙏🙏
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
@GamingWithMicc
@GamingWithMicc 3 жыл бұрын
The switch statement idea really helped me.
@DrParagShukla
@DrParagShukla 3 жыл бұрын
Thank You
@therajur
@therajur 2 жыл бұрын
Thank you very much sir even though I was reinstalled android studio because this 🙂🙂🙂
@DrParagShukla
@DrParagShukla 2 жыл бұрын
My Pleasure
@yashponam1055
@yashponam1055 3 жыл бұрын
Exactly what i needed!!!!!!!!!!!!!!!!
@yahyabubere2364
@yahyabubere2364 3 жыл бұрын
thank you, sir this helped me a lot
@thepatlagoon
@thepatlagoon 3 жыл бұрын
Thank you for this video Parag!
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
@datafrog2025
@datafrog2025 3 жыл бұрын
Thank you so much, I was able to solve it thanks to you
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
@harshgoradiya3278
@harshgoradiya3278 2 жыл бұрын
It helped me a lot sir ,Thank you❤️
@DrParagShukla
@DrParagShukla 2 жыл бұрын
Glad it helped to you My Pleasure
@QuickClips_69
@QuickClips_69 3 жыл бұрын
Thank you sir that was really helpful
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
@suzym5120
@suzym5120 3 жыл бұрын
Thank you very much. You added the plugin inside dependencies. What is the difference between putting it inside dependencies vs first thing on the top of the build.gradle?
@brainx-ei6uk
@brainx-ei6uk 3 жыл бұрын
Thank You.. Dr. Parag Shukla
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My pleasure
@cwlaien648
@cwlaien648 3 жыл бұрын
thank you very much sir!you really help me a lot!!
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My pleasure
@quanghuy482
@quanghuy482 2 жыл бұрын
it really works. thank you very much
@DrParagShukla
@DrParagShukla 2 жыл бұрын
My Pleasure
@fattahsamit
@fattahsamit 2 жыл бұрын
It worked, Thank you
@DrParagShukla
@DrParagShukla 2 жыл бұрын
My Pleasure
@samanthreddy619
@samanthreddy619 3 жыл бұрын
Very Useful!
@DrParagShukla
@DrParagShukla 3 жыл бұрын
Thank You
@harshmanitripathi9319
@harshmanitripathi9319 3 жыл бұрын
thank you sir, This problem had exhausted me
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
@minhtet8868
@minhtet8868 3 жыл бұрын
It helped me a lot sir ❤️
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
@moscraciunvine
@moscraciunvine 2 жыл бұрын
Thank you soo much!!!!!!!
@DrParagShukla
@DrParagShukla 2 жыл бұрын
Glad it helped!
@pratikpatil5214
@pratikpatil5214 3 жыл бұрын
Thank you so much sir it worked
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
@zeeshangorsii
@zeeshangorsii 2 жыл бұрын
Love You Sir
@parshanpourbakht7043
@parshanpourbakht7043 2 жыл бұрын
thank you great video
@DrParagShukla
@DrParagShukla 2 жыл бұрын
My Pleasure
@abdulshamad6790
@abdulshamad6790 2 жыл бұрын
thank you so much man i was so frustrated for why my button is not suggesting me
@DrParagShukla
@DrParagShukla 2 жыл бұрын
My Pleasure
@its_krajput9537
@its_krajput9537 3 жыл бұрын
Thanks a lot mate..
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
@me_079_aashishkumarnayak6
@me_079_aashishkumarnayak6 Жыл бұрын
Thank you so much sir ❤❤❤
@DrParagShukla
@DrParagShukla Жыл бұрын
My Pleasure
@eefergezer
@eefergezer 3 жыл бұрын
BEST VİDEO EVER ON THİS SİTE
@DrParagShukla
@DrParagShukla 3 жыл бұрын
Thank you
@jjplays404
@jjplays404 3 жыл бұрын
Wowwwwww bindasssss
@DrParagShukla
@DrParagShukla 3 жыл бұрын
Thank you
@mustafarehadag7967
@mustafarehadag7967 3 жыл бұрын
Thank you so much
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My pleasure
@aasmohammad2651
@aasmohammad2651 2 жыл бұрын
thank you very much
@DrParagShukla
@DrParagShukla 2 жыл бұрын
My Pleasure
@aptechnicalpoint1757
@aptechnicalpoint1757 2 жыл бұрын
Very very thanks sir
@DrParagShukla
@DrParagShukla 2 жыл бұрын
My Pleasure
@moin2863
@moin2863 3 жыл бұрын
sir how to make app in app project .. i meant all in one app . From our app we can use other app without installing them. Please guide
@PocaCaop
@PocaCaop 2 жыл бұрын
thank you bro!!!!!!!!!
@DrParagShukla
@DrParagShukla 2 жыл бұрын
Welcome!
@ankitranjan88
@ankitranjan88 3 жыл бұрын
Thank you sir
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
@alzearafat
@alzearafat 3 жыл бұрын
Thanks!
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
@mukulgupta2071
@mukulgupta2071 3 жыл бұрын
Thank you
@DrParagShukla
@DrParagShukla 3 жыл бұрын
Welcome
@tahainan2416
@tahainan2416 3 жыл бұрын
thank you :)
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
@BilalHassan-vy9oi
@BilalHassan-vy9oi 2 жыл бұрын
thanks a lot
@DrParagShukla
@DrParagShukla 2 жыл бұрын
My Pleasure
@PJ-od9ev
@PJ-od9ev 2 жыл бұрын
I Salute you
@DrParagShukla
@DrParagShukla 2 жыл бұрын
My Pleasure
@anuznagpal2209
@anuznagpal2209 2 жыл бұрын
thanks
@asthaastha9041
@asthaastha9041 3 жыл бұрын
its showing kotlin-android-extensions is deprecated,what should i use in place of that
@riyazmohamed6532
@riyazmohamed6532 2 жыл бұрын
super
@DrParagShukla
@DrParagShukla 2 жыл бұрын
Thank You
@ashwinkumar5223
@ashwinkumar5223 Жыл бұрын
Sir, is it called View Binding?
@mycart3323
@mycart3323 3 жыл бұрын
Hello sir Kisi bhi application ki XML,java file ka source codes kesy open (see) kre?
@DrParagShukla
@DrParagShukla 3 жыл бұрын
To Access Source code Click on Package name and then click on .java file. To Access XML file click on resource folder then in layout access XML file.
@mycart3323
@mycart3323 3 жыл бұрын
@@DrParagShukla Hello thank u mene try kiya Or Application ho gy decompil and view file ,😊
@shrinathoza6056
@shrinathoza6056 3 жыл бұрын
"kotlin-android-extensions " is deprecated
@daaraywolof4330
@daaraywolof4330 3 жыл бұрын
tank you , but for soneone who use java android studio
@boringmacho2768
@boringmacho2768 2 жыл бұрын
it is not working
@mariofernandez3601
@mariofernandez3601 2 жыл бұрын
while(true){ print(" THANKS ") }
@DrParagShukla
@DrParagShukla 2 жыл бұрын
My Pleasure..!
@yashbpresearch3582
@yashbpresearch3582 3 жыл бұрын
Sahi se nhi batate ho sink kaise kare tumhe to ata hai hame nhi ata na
@sachinfulsunge9977
@sachinfulsunge9977 2 жыл бұрын
sahi se to bataya unhone aapne dhyaan se nahi dekha boliye
@GuessWho189
@GuessWho189 3 жыл бұрын
Thank you so much
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
@motivation8238
@motivation8238 2 жыл бұрын
thanks
@DrParagShukla
@DrParagShukla 2 жыл бұрын
My Pleasure
@ambuch9580
@ambuch9580 3 жыл бұрын
Thank you so much
@DrParagShukla
@DrParagShukla 3 жыл бұрын
My Pleasure
Audio, Video & Camera App - Android Kotlin
1:02:01
Dr. Parag Shukla
Рет қаралды 2,8 М.
Android ViewBinding in 8 Minutes
8:59
Philipp Lackner
Рет қаралды 76 М.
哈莉奎因以为小丑不爱她了#joker #cosplay #Harriet Quinn
00:22
佐助与鸣人
Рет қаралды 8 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 17 МЛН
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 66 МЛН
Elon Musk fires employees in twitter meeting DUB
1:58
GeoMFilms
Рет қаралды 14 МЛН
Firebase Get and Set Data using Kotlin Android
24:47
Dr. Parag Shukla
Рет қаралды 24 М.
Find and Fix MEMORY LEAKS with Leak Canary in Android 👀
8:31
Philipp Lackner
Рет қаралды 35 М.
You are using useFetch WRONG! (I hope you don't)
11:14
Alexander Lichter
Рет қаралды 24 М.
iPhone 16 Pro Max - 3x BIG LEAKS TO CHANGE EVERYTHING!!
9:11
Matt Talks Tech
Рет қаралды 15 М.
Nvidia CEO: "We're Completely F**ked & Nobody Realizes It..."
13:47
Nvidia Latest News
Рет қаралды 7 М.
How  access the ID's from XML file without using findviewbyid
12:09
Vlad Voytenko
Рет қаралды 7 М.
哈莉奎因以为小丑不爱她了#joker #cosplay #Harriet Quinn
00:22
佐助与鸣人
Рет қаралды 8 МЛН