I tried to remove focus from empty editText but it isn't working correctly.
I called clearFocus()
on edittext
,and then I placed break point at my onFocusChanged()
function call.
Here is what happened:
onFocusChanged()
called 4 times with the focused parameters values false,true,false,true
.
What I thought was that onFocusChanged()
must be called only once (with focused = false)
Sorry for my bad English. Any help would be appreciated. Thanks