Android App Development Tutorial 17 - onClick Event Handler | Java

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

5:21 the end screen is hiding the emulator...

somethingyoulike
Автор

Whenever i finish my app i will put you to credits for huge help, is it ok?

fearlinek
Автор

3:00 put the cursor on "View" and press Alt + Enter to import automatically

tomaszokrajni
Автор

Hallo Caleb! First of all thank you for your nice and helpful tutorials.

In some other tutorials I watched, they create a button instance into the onCreate method, and then they call the onClickListener method of the created button instance to handle clicks. Is there any signifficant difference between these two ways of handling the click event?

mikekots
Автор

you are the best teacher on youtube
amazing tutorial

huzaifarehman
Автор

Hi Caleb,

I think i would like to buy you a better camera, when you are zoomed out on the screen is is quite blury ..
kevin rea
lancaster, calif usa

kevinrea
Автор

Hi. I am writing an app. I want the app to add two numbers together when a button is clicked, but when I try to access the numbers inside of the onClick code, it can't access them. It says I can make them "final", but I plan on changing them.
Also, after the button is clicked, I want it to run more code, but I can't seem to make that happen. Is there a way to run code, then click button, then run more code?

geneseymour
Автор

2:48 you needed to import the view method in MainActivity.java

Points