Alertdialog - Don't close the window after clicking the OK button
Hey,
The alertdialog should not close after clicking the OK button. At best, the OK button should be deactivated and gray and only after input should the button be activated and colored.
var builder = AlertDialog.Builder(this)
builder.setTitle("Hinzufügen")
builder.setMessage("Füge etwas deiner Liste hinzu!")
var input = EditText(this)
input.hint="Hinzufügen"
input.inputType = InputType.TYPE_CLASS_TEXT...