getGroupsOfContact

open fun getGroupsOfContact(@NonNull context: Context, @NonNull contact: ContactItem): List<ContactItem>

Get the list of group contacts on witch the specified contact is member

Return

List of ContactItem (groups) or null if contact is not exist

Parameters

context

Context The application context.

contact

ContactItem : contact to get his groups


open fun getGroupsOfContact(    @NonNull context: Context,     @NonNull contact: ContactItem,     @Nullable loadContactsCallback: STWLoadContactsCallback): AsyncTask

Load asynchronously, the list of group contacts on witch the specified contact is member

Parameters

context

Context The application context.

contact

ContactItem : contact to get his groups

loadContactsCallback

STWLoadContactsCallback: callback to intercept loading operation result