splitwise / TokenAutoComplete

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

Fix for crash on API 28 #392

Closed fardavide closed 4 years ago

fardavide commented 5 years ago

In some unclear circumstances, the app crashes with the exception described in the comment, while a cut operation is done with a single token set in the TextView

mgod commented 5 years ago

How are you getting to a cut operation? The view doesn't really support cut/copy/paste correctly right now.

fardavide commented 5 years ago

With setLongClickable to true

mgod commented 5 years ago

Are you finding copy and paste work? Can you give me some more details about your use-case? I'm guessing the actual underlying problem is that we should not be invalidating the view under some circumstances.

Jacks0N23 commented 4 years ago

I'm guessing the actual underlying problem is that we should not be invalidating the view under some circumstances.

Yes, i have the same crash after just trying to cut created token and crash somewhere near invalidate method