android disable button method code example
Example 1: disable button in android studio
myButton.setEnabled(false);
Example 2: how to disable button android
// Kotlin
myButton.isEnabled = false
myButton.setEnabled(false);
// Kotlin
myButton.isEnabled = false