splitwise / TokenAutoComplete

Gmail style MultiAutoCompleteTextView for Android
Apache License 2.0
1.3k stars 384 forks source link

OnClickListener on MyCompletionView is not called #341

Closed ahmadkabi closed 6 years ago

ahmadkabi commented 6 years ago

Hi mgod. I am very sorry that I face another issue here. I have set OnClickListener to MyCompletionView, all just work properly. I put MyCompletionView inside fragment. But when another fragment comes into the screen then I go back to the former fragment containing the view (MyCompletionView), the listener (OnClickListener) does not work. I set this listener on fragment's onStart() callback too.

any suggestion for this issue? thanks for your great library

mgod commented 6 years ago

That sounds like it should work correctly. What are you using the OnClickListener to do?

ahmadkabi commented 6 years ago

for showing dropdown.

mgod commented 6 years ago

Have you set a breakpoint in the OnClickListener to confirm that it doesn't get called? I would guess that your problem is more likely related to the drop down getting dismissed automagically at some point.