No video

ALERT DIALOG - Android Fundamentals

  Рет қаралды 27,710

Philipp Lackner

Philipp Lackner

Күн бұрын

In this video you will learn how to show different kinds of dialogs in your app the user can interact with.
⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
pl-coding.com/...
Regular Android tutorials on my Instagram: / philipplackner_official
Checkout my GitHub: github.com/phi...

Пікірлер: 52
@wambugumassive
@wambugumassive Жыл бұрын
I've looked around the You Tube 'Android Studio / Kotlin' video tutorial options and keep coming back to yours as, you explain things better than the rest...
@kushagra-aa
@kushagra-aa Жыл бұрын
Amazing Course!!!! Please try to make a video of the things that are changed in the new versions, a short video about some important things that are changed since this course was made would be really helpful. Thank you for making these great tutorials and courses.
@farihazultana
@farihazultana 2 жыл бұрын
Alert Dialog was most fun till now!
@reeceyamato
@reeceyamato Жыл бұрын
Great tutorial as always, direct to the point and following the recommended code for every situation, great job! 👍I have learned so much from yours tutorials Thank you!
@DharaniPathyRamalingam
@DharaniPathyRamalingam 3 жыл бұрын
Nice lecture @Philipp Lackner.. 1. what is the use case of DialogInterface? 2. when you select some values in Dialog and re-open the old values are shown. Not the default values. why and how?
@Dinocasanova
@Dinocasanova 4 жыл бұрын
Great!!! Thank you 🙌!!!
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Glad I could help👐
@Leeminduc
@Leeminduc 3 жыл бұрын
Thank you so much, so helpful to me !
@mohammednashat6707
@mohammednashat6707 2 жыл бұрын
Thank you very much , almost time you are amazing
@VenewebTV
@VenewebTV 2 жыл бұрын
Very useful and educational video, greetings from Caracas, Venezuela
@TheImaginativeSachin
@TheImaginativeSachin Жыл бұрын
This is all good and all but this must be used to access the dialog's answer the user's input right? How can we access such data from alert dialog and How can we use such dialog in our projects ?
@fuadydheo3155
@fuadydheo3155 4 жыл бұрын
awesome dude!!
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Thanks man!
@WW-qv8uw
@WW-qv8uw 3 жыл бұрын
Very useful and detailed tutorials
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Glad you liked it
@blo01
@blo01 4 жыл бұрын
Thanks
@kittara8
@kittara8 Жыл бұрын
my favourite part is how it doesnt work even on the easiest videos like these 😊
@Amandeep-uc7qh
@Amandeep-uc7qh 3 жыл бұрын
Nice explanation
@gangardarwagle8938
@gangardarwagle8938 20 күн бұрын
Ctrl + Space not working!! is there other ways to do so?
@angelmauriciorivas6160
@angelmauriciorivas6160 Жыл бұрын
great tuto, just one observation, you forgot to change the multichoiceItems.setTitle. Cuestion: how it could be reset the options checked when I get into to select multichoice, I mean all of the options get back to unchecked
@bigotes20random86
@bigotes20random86 2 жыл бұрын
You are amazing! :)
@frozen1093
@frozen1093 2 жыл бұрын
very useful content!
@talhashaikh1435
@talhashaikh1435 2 жыл бұрын
I am going to try this ..hope that this thung also is not deprecated coz all things are deorecates these days
@mahmudsulemansheikhwunnam3580
@mahmudsulemansheikhwunnam3580 2 жыл бұрын
What you've shown is how to select item. Assuming you want to use the selected items in the parent activity that triggered the dialog, how do you make that happen?
@MCA_HimanshuSeth
@MCA_HimanshuSeth 4 жыл бұрын
Nice explanation sir ,🙏🙏
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Thank you! :)
@marypaul9627
@marypaul9627 2 жыл бұрын
Good one
@ankushgupta2528
@ankushgupta2528 3 жыл бұрын
When I try to add .setPositiveButton, after control + space, the option to add dialog interface and I is not showing up, PLEASE HELP!.
@em_nikhil_007
@em_nikhil_007 3 жыл бұрын
You have to write that manually.
@Joao-xk1ws
@Joao-xk1ws 3 жыл бұрын
is there another way to close an alertdialog other than using buttons and clicking on the screen? asked because I'm in a scan reading app and I want it to close after reading any object, as if the reading were a click
@dongiannisiliadis9018
@dongiannisiliadis9018 Жыл бұрын
wunderbar
@mahendranathreddye1720
@mahendranathreddye1720 4 жыл бұрын
Hi , Can't we use menu bar items to do the same instead of buttons ? I am trying but not getting.. Could you pls help !! Thank You
@rohanchoudhary4034
@rohanchoudhary4034 2 жыл бұрын
How to prevent alert dialog from closing on outside touch
@bigotes20random86
@bigotes20random86 2 жыл бұрын
Or dialog.setCancelable(false)
@billmolloy2264
@billmolloy2264 10 ай бұрын
@alexgireff2180
@alexgireff2180 2 жыл бұрын
Cool 👍
@BCS_AAMIRASHRAF
@BCS_AAMIRASHRAF Жыл бұрын
if anyone facing error in .singlechoiceItems val checkedItem = intArrayOf(-1) val listItems = arrayOf("first Item","second Item","third Item") val singleChoiceOptionDialog=AlertDialog.Builder(this) singleChoiceOptionDialog.setTitle("Choose on of the option") singleChoiceOptionDialog.setSingleChoiceItems(listItems, checkedItem[0]) { dialog, which -> checkedItem[0]=which Toast.makeText(this,"you choose option $which",Toast.LENGTH_SHORT).show() }
@digitalnomad4535
@digitalnomad4535 Жыл бұрын
holy cow
@filip_g
@filip_g 3 жыл бұрын
Mr. Poop xD
@ankitpalsingh8191
@ankitpalsingh8191 Жыл бұрын
Please don't use Mr. Poop , I imagine that whenever you wrote it.🤣🤣
@Luffy_2804
@Luffy_2804 Жыл бұрын
avg. indian guy 😂🙂
@Luffy_2804
@Luffy_2804 Жыл бұрын
how's learning going on ? completed android dev basics ??
@ankitpalsingh8191
@ankitpalsingh8191 Жыл бұрын
@@Luffy_2804 yeah
@amineayachi335
@amineayachi335 2 жыл бұрын
we want animated custom dialogs in jetpack compose as i am not using xml anymore
@fujisakii7734
@fujisakii7734 4 жыл бұрын
Hi, I have followed this method but there seems to be a problem with mine.. at 11:32 part of your video, the right one to choose after the .setSingleChoiceItems() should be {dialogInterface, i ->} But in my case, there's no such suggestion, is there another way to do that? Or Android studio updated? I recently downloaded the app, I guess this is the latest version that's why I'm wondering why I cannot find that
@PhilippLackner
@PhilippLackner 4 жыл бұрын
I haven't tried that in the latest version yet, but maybe there are just no suggestions. Did you try to put the parameters there even though you don't have suggestions?
@samkabiru8805
@samkabiru8805 3 жыл бұрын
this is my most confusing video so far. I'm trying to understand it but its challenging
@frozen1093
@frozen1093 2 жыл бұрын
likewise
@ahappyperson6530
@ahappyperson6530 Ай бұрын
Mr.Poop
@wilwad
@wilwad 2 жыл бұрын
App crashing on button click java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
@jang1542
@jang1542 Жыл бұрын
try adding this code to your build.gradle file: buildFeatures { viewBinding true } Add this after: kotlinOptions { jvmTarget = '1.8' }
SPINNER - Android Fundamentals
12:12
Philipp Lackner
Рет қаралды 54 М.
CREATING SWIPABLE VIEWS WITH VIEWPAGER 2 - Android Fundamentals
11:56
Philipp Lackner
Рет қаралды 66 М.
Бутылка Air Up обмани мозг вкусом
01:00
Костя Павлов
Рет қаралды 2,7 МЛН
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 20 МЛН
RecyclerView | Everything You Need to Know
25:07
Practical Coding
Рет қаралды 133 М.
BOTTOM NAVIGATION VIEW - Android Fundamentals
16:53
Philipp Lackner
Рет қаралды 54 М.
Dialog Fragment in Android [Kotlin 2020]
10:00
CodeWithMazn
Рет қаралды 36 М.
FRAGMENTS - Android Fundamentals
17:29
Philipp Lackner
Рет қаралды 327 М.
How This New Battery is Changing the Game
12:07
Undecided with Matt Ferrell
Рет қаралды 114 М.
INTENTS AND STARTING ACTIVITIES - Android Fundamentals
16:11
Philipp Lackner
Рет қаралды 68 М.
React Native vs Flutter in 2024 - Make the RIGHT Choice (Difference Explained)
10:31
Daniel Dan | Tech & Data
Рет қаралды 164 М.
Бутылка Air Up обмани мозг вкусом
01:00
Костя Павлов
Рет қаралды 2,7 МЛН