public static void getMatchingRecipients( Context context, ArrayList<String> inAddresses, Account account, RecipientMatchCallback callback) { getMatchingRecipients(context, inAddresses, QUERY_TYPE_EMAIL, account, callback); }
/** * Used to replace email addresses with chips. Default behavior queries the ContactsProvider for * contact information about the contact. Derived classes should override this method if they wish * to use a new data source. * * @param inAddresses addresses to query * @param callback callback to return results in case of success or failure */ public void getMatchingRecipients( ArrayList<String> inAddresses, RecipientAlternatesAdapter.RecipientMatchCallback callback) { RecipientAlternatesAdapter.getMatchingRecipients( getContext(), this, inAddresses, isPhoneQuery() ? QUERY_TYPE_PHONE : QUERY_TYPE_EMAIL, getAccount(), callback); }