I want the edittext value without clicking any button.I want to enter something in edittext and after entering the value want to get the value and start a method.
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
2
Answers
you can use some listener for Edittext in android an watch all changes inside an edittext every time user type a new character in Edittext this listener invoked
here is my sample code in Kotlin:
You can use TextWatcher like this.
And you can assing the TextWatcer in your EditText like this