Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setOnFocusChangeListener not triggering #119

Open
shylendramadda opened this issue Oct 16, 2018 · 0 comments
Open

setOnFocusChangeListener not triggering #119

shylendramadda opened this issue Oct 16, 2018 · 0 comments

Comments

@shylendramadda
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant