android-chips icon indicating copy to clipboard operation
android-chips copied to clipboard

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

Open dhruvins7 opened this issue 7 years ago • 4 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

dhruvins7 avatar Aug 18 '17 10:08 dhruvins7

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

klinker24 avatar Aug 18 '17 11:08 klinker24

Thanks. It worked

dhruvins7 avatar Aug 21 '17 05:08 dhruvins7

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

dhruvins7 avatar Aug 21 '17 05:08 dhruvins7

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

i tried, so it the same him

thanhbinhho105 avatar Jun 25 '21 02:06 thanhbinhho105