I tried to remove focus from an empty editText, but it does not work correctly. I called clearFocus()on edittextand then set a breakpoint when calling the function onFocusChanged().
Here's what happened:
onFocusChanged()called 4 times using focused parameter values false,true,false,true.
I thought I onFocusChanged()needed to be called only once (with focus = false)
Sorry for my bad english. Any help would be greatly appreciated. Thanks
vijay source
share