klinker41 / android-chips

Chips in your AutoCompleteTextView on Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

submitItem() doesn't correctly show name of contact

buneme opened this issue · comments

When using submitItem(name, number, imageURI) to add contacts to a RecipientEditTextView, the name of the contact is not shown on the chip, only their photo:
image

Finally i figured it out, you should wait till the view settles itself down,and then call appropriate methods,so implement the call for addOnGlobalLayoutListener,and do your operations after that method being called!

Thanks, I'll try that and see if it works

On Wed, Aug 5, 2015, 18:23 LloydBlv notifications@github.com wrote:

Finally i figured it out, you should wait till the view settles itself
down,and then call appropriate methods,so implement the call for
addOnGlobalLayoutListener,and do your operations after that method being
called!


Reply to this email directly or view it on GitHub
#13 (comment)
.