getAllContactsAsLiveData

fun getAllContactsAsLiveData(context: Context): LiveData<List<STWContact>?>

Get All contacts (visible company contacts, all SmartMs and non SmartMS contacts)

Return

LiveData list of STWContact

Parameters

context

The application context.


fun getAllContactsAsLiveData(context: Context, search: String? = null): LiveData<List<STWContact>?>

Get All contacts (visible company contacts, all SmartMs and non SmartMS contacts)

Return

LiveData list of STWContact

Parameters

context

The application context.

search

get only contacts matching this keyword..