EditText Dialog Box in Android Studio Tutorial (Kotlin 2020)

EditText Dialog Box in Android Studio Tutorial (Kotlin 2020)

Indently

4 года назад

10,392 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

arielserlin
arielserlin - 28.08.2023 23:02

Loved this video. Short and clear. Thanks!

Ответить
Felix Chiang
Felix Chiang - 02.08.2023 18:26

Always love a tutorial which is compact and to the point, not a 30 minutes video just to do one thing 😅Kudos and Thank YOU!

Ответить
Synthwave
Synthwave - 24.06.2023 09:58

Thank you!!

Ответить
Hidrasal
Hidrasal - 28.05.2023 11:32

bro you solved my problem which I was dealing since yesterday.Thank you so much.

Ответить
Abubakar Khalid
Abubakar Khalid - 01.09.2022 03:14

Good Video Really helped me

Ответить
Burakcan Duzcan
Burakcan Duzcan - 03.08.2022 16:23

all it misses is view binding and it's the sole variable we need.

Ответить
Juan García
Juan García - 01.03.2022 07:46

Por que a mi no me sale la opcion de OnClickListener al poner el ID de edit Text :C

Ответить
V K
V K - 21.01.2022 20:07

Thanks you. Great tutorial. Just one thing, how to make the keyboard appear automatically when the dialog opens up?

Ответить
Appa A
Appa A - 18.11.2021 19:50

Hi, when excecuting this code I get an error as followed: " java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setOnClickListener(android.view.View$OnClickListener)' on a null object reference "

any solutions or any idea?

Ответить
HR!T
HR!T - 06.09.2021 14:51

finally a tutorial that worked!

Ответить
Big Lloyd
Big Lloyd - 25.08.2021 04:08

Thank you so much this helped me solve a problem with my dialog with two edit text views keep up the good work it is very much appreciated!!!

Ответить
MelCraft10 -
MelCraft10 - - 04.04.2021 09:10

Question: how do I not let the alertdialog close when the edittext field is empty? It will only close and save to textview when it's filled.

This is my toast code but it's throwing an error with makeText

with(dialogBuilder){
setTitle("Enter Player Name: ")
setPositiveButton("Play Quiz!"){dialog, which ->
if (editText.text.toString().isNullOrBlank()){
Toast.makeText("Cannot be blank",Toast.LENGTH_SHORT).show()

}else{
userName.text = editText.text.toString()
}
}
setView(dialogLayout)
show()
}

Ответить
MelCraft10 -
MelCraft10 - - 04.04.2021 08:48

You really helped me with an assignment. Love it. subbed!

Ответить
Yash Dixit
Yash Dixit - 21.08.2020 15:44

Consider I have an existing list in the ListView and am placing a FAB in the ListView and what it does is creating a dialog box asking for an element input, after giving that input and clicking add button that element should get appended/added to the existing list and should be displayed int he same list.
please help with this !

Ответить
Derek
Derek - 11.06.2020 04:03

Thanks
In the following tutorial you could make a video of how to make a list of elements that when left pressed you can move them around and save those settings?

I love your tutorials!

Ответить