getContactById

open fun getContactById(@NonNull context: Context, @NonNull contactId: String): ContactItem

Get, if exist, the ContactItem having the specified Id

Return

ContactItem or null if not exist

Parameters

context

Context The application context.

contactId

String : contact id