Комментарии:
Loved this video. Short and clear. Thanks!
Ответить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!
ОтветитьThank you!!
Ответитьbro you solved my problem which I was dealing since yesterday.Thank you so much.
ОтветитьGood Video Really helped me
Ответитьall it misses is view binding and it's the sole variable we need.
ОтветитьPor que a mi no me sale la opcion de OnClickListener al poner el ID de edit Text :C
ОтветитьThanks you. Great tutorial. Just one thing, how to make the keyboard appear automatically when the dialog opens up?
Ответить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?
finally a tutorial that worked!
Ответить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!!!
Ответить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()
}
You really helped me with an assignment. Love it. subbed!
Ответить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 !
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!