klinker41 / android-chips

Chips in your AutoCompleteTextView on Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to pass a predefined recipient from one Activity to another?

dhruvins7 opened this issue · comments

I am Passing the Name and Number of a Contact from one activity to another and using these Number and Name.

I Construct a RecipientEntry By using constructorGeneratedEntry and passing the name and number in those with isValid true, But when I add the Recipient to the RecipientEditTextView it generates Two chips, one consists of Number while the other one consists of the Name.

RecipientEntry entry = RecipientEntry.constructGeneratedEntry(name, number, true); 
phoneRetv.addRecipient(entry);

inkedinkedinkedscreenshot_2017-08-18-15-15-37-132_li
inkedinkedscreenshot_2017-08-18-15-15-44-468_li
inkedscreenshot_2017-08-18-15-15-40-652_li
inkedscreenshot_2017-08-18-15-15-49-359_li

I use phoneRetv.submitItem(name, number, nullableImageUri)

Thanks. It worked

I am sorry to reopen this issue but Even after passing the null Image Uri the Following issue is still there.
All I want for it is to look like a Normal chip.

screenshot_2017-08-21-10-49-26-628

I use phoneRetv.submitItem(name, number, nullableImageUri)

i tried, so it the same him