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

EditText dont work #21

Open
dub123 opened this issue Jun 28, 2015 · 2 comments
Open

EditText dont work #21

dub123 opened this issue Jun 28, 2015 · 2 comments
Labels

Comments

@dub123
Copy link

dub123 commented Jun 28, 2015

Hi, Thanks for this adapter. I am using a custom adapter in my project that has autocompletetextbox, edittext and few spinners. As soon as I add this adapter autocomplete and edittext dont work. I can't click on them and change values. looks like listeners aren't responding properly. May be its how its designed. Please suggest.

@wdullaer
Copy link
Owner

I'm blocking descendant focus to make the onItemClickListener of the ListView work.

This is a rather heavy handed solution with drawbacks, but I couldn't find a proper solution so far.
At this point in time I think it's the better trade-off, but I'm trying to come up with a better solution.

@wdullaer wdullaer added the bug label Aug 11, 2015
@wdullaer
Copy link
Owner

Looks like this is a bug in Android itself: you can't have onItemClicked and an EditText work at the same time in a ListView.
The bug has also been declined, so they won't be fixing it.
https://code.google.com/p/android/issues/detail?id=3414#c27

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

No branches or pull requests

2 participants