Thursday, April 14, 2016

OnFocusOut Event on EditText Android Studio

We can check if EditText control has focus on or not using the following event.

txtFrom.setOnFocusChangeListener(new View.OnFocusChangeListener() {
            public void onFocusChange (View v, boolean hasFocus) {
                     // Do Code here

I hope it was inforamtive for you and I would like to Thank you for reading

No comments:

Post a Comment