How do I show the soft keyboard while dismissing DatePickerDialog?
-
01-06-2021 - |
Frage
I'm trying to load the soft keyboard while I dismiss a DatePickerDialog. It appears to be a timing issue. The DatePickerDialog still has focus, so attempting to show the soft keyboard does nothing. However, if I use a handler to cause a delay, it works fine. Any ideas?
Lösung
I solved the problem by showing the soft keyboard after a short delay. It's a hack, but it works.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow