setOnFocusChangeListener not triggering
Opened this issue · 0 comments
shylendramadda commented
Here I have three input fields, one is To
list and second contains Cc
and Bcc
like Gmail When I am leaving from To
to Cc
I want to get the listener.
I tried with this code:
chips_input_to.setOnFocusChangeListener((view, hasFocus) -> {
if (!hasFocus) {
if (!TextUtils.isEmpty(enteredEmail)) {
enteredEmail = enteredEmail.toLowerCase().trim();
addEmailToChipView(enteredEmail, "to");
}
}
});
But it still not hitting this method. Any suggestions?