BUTTONS - Android Fundamentals

preview_player
Показать описание
In this video you will learn how to use buttons in your app and detect when the user clicks on them.

⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:

🎓 Become an industry-ready developer in the Mobile Dev Campus:

🎁 Get my FREE 4.5h course "The Best Practice Guide to Android Architecture":

Read our weekly Android blog:

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

Worth pointing out that Kotlin Synthetics (Which is the feature [Extension Plugin] that allows you to call your Views (Buttons, Edittexts, etc) with their respective ID directly onto your Kt file/class is deprecated, which in general means it is not recommended to use anymore, instead it is good to use ViewBinding or DataBinding (or both if needed).

SuegroLM
Автор

I was going through a bunch of videos on YouTube trying to look on getting into Android Studio with Kotlin since it is the new language going forward by Google on Android. And all of the videos I could find would show you how to do something but not really explain what each part of the video does. For example, the way you broke down the meaning of "R.id.but..." to indicate this comes from resources and ID's, it's something not many do. Thanks for making this fundamental series, it has been super helpful so far for someone looking for a concentration in their CS degree ;)

pikaboyny
Автор

Wow holy crap these videos are easily the best coding tutorial videos I have ever seen. I am a complete beginner and self taught (more youtube taught honestly) and you are by far the most helpful.

TzarPlatypus
Автор

Followed along through your entire Newbie to Pro series, and per your recommendation, I'm going through this series to learn XML before jumping into Jet Pack Compose. This is my first time committing to learn to program since my Web Design HTML/CSS days over a decade ago. Anyways, THANK YOU. You're videos are not only well thought out and made, but your playlists are well structured and paced. I actually feel confident that I can be good at this because of your tutorials and advice.

Figured after having watched 30+ videos of yours, I should stop and express my appreciation. Keep doing your thing!

JoeMadds
Автор

Thank you Professor God Bless You from Senegal Great Job Enjoy you contribute to the humanity

sibymohamed
Автор

from 2021 and I got problems when I have tried to import views by using "synthetic". But I have fixed it by replacing with 'view binding'. Great tutorial bro keep going on!

daiyrkanybekov
Автор

I'm following this course so far but when I click alt + enter at 7:30 it doesn't import anything, I've tried manually typing it but kotlinx doesn't even autocomplete it only says kotlin

dimitritsikaridze
Автор

to do what he did in this video you need first to learn about view binding in this videos
this will help you to understand how android studio calls view by id now
after that you can follow with the setOnClickListener part because after you call the button its the same in both ways

benbouzaadel
Автор

Hi Philipp, How do we import a button nowadays (Oct 2021)? the alt + enter method doesn't work anymore.

nawledgepwr
Автор

Great video, bro. I finished an Android App Development course on Udemy, and I'm now using your videos for review. These are helping tremendously. Keep up the good up work.

gracialonignasiver
Автор

Phillipp, your video about buttons is extremely good. Your tip about renaming buttons is very important. I had problem with renaming buttons. However I need button to save data in database - to implement Insert statement. I do not know how to do this in button.onclick. Could you please show this in comment. Because it is important for all Android Studio beginners. Or can you make video " Buttons to save and delete data in database". Thanks a lot

brianryan
Автор

Great Tutorial. You are what is getting me through my Mobile App Class. Thank you!

loganwhite
Автор

Anyone please help me in my Android Studio it doesn't work when i type btnApply it shows create local variable also there the import library doesn't work
i Tried many places still im stuck . help me

aayushukey
Автор

Being a Java Developer at 7:18 i realized (one of the reasons maybe) why u hate java & love KOTLIN

TheSharkbeast
Автор

Love your videos. Could you also show how to do this stuff in code besides the design views?

BballShot
Автор

first of all thank you so much for you very useful curse
and then I have a question
in the 8 min where you teaching about "importing btnApply" it dosn't work for me
I pressed Alt+Enter but it didn't work
can you pleas help me to fix it?

monbebex
Автор

if you add ads, i pleasure to watch it. thank you so much for good explanation

fulksatavonsamith
Автор

Just in case if you are following along this tutorial as I am so the import " synthetic " is deprecated but Philipp has made an updated video using View Binding. Just keep coding.

bacanalienigena
Автор

I love how much this looks like Visual Basic but with OOP <3

captainbrst.
Автор

why the placeholder text in the edittext fields stay when i write something

ahmedsabahsabri