Create a simple yes/no Alert Dialog in Android Kotlin

preview_player
Показать описание
Create a simple yes/no confirmation dialog that fires when the user presses a delete button.
I start by creating an AlertDialog.Builder, and then I set the title and message on that builder.
I also make a No button, which simply dismisses the dialog.
Finally, I build the dialog and show it. I demonstrate all of this in the emulator, once with the debugger on, and again with the debugger off.

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

Sir you wont believe I had spent 1 hour on searching it on net, watched 3-4 tutorial, but I understood by your video in one shot. Thanks

shashankrana
Автор

Great explanation and many developers want to overcomplicate things and I’ve never understood that impulse

ChrisAthanas
Автор

thanks heaps great tutorial, really help on some assesment

tobywuiske
Автор

Thanks a lot. It works well in my app.

kolola
Автор

If possible can you make a video on higher order functions and lambdas...I can't get it's concept

sujeetarya
join shbcf.ru