findContactByPhoneNumber
fun Collection<Contact>.findContactByPhoneNumber(phoneNumber: String): Contact?
Content copied to clipboard
Finds a contact with the specified phoneNumber.
Return
The first matching contact or null
if none of the contacts in this collection has the specified phone number.
fun LiveData<IviContactsDataSource>.findContactByPhoneNumber(phoneNumber: LiveData<String?>): LiveData<Contact?>
Content copied to clipboard
Finds a contact with the specified phoneNumber.
Return
The first matching Contact or null
if none of the contacts in this collection has the specified phone number.