getConversationByIdAsLiveData

fun getConversationByIdAsLiveData(context: Context, conversationId: Int): LiveData<STWConversation?>

Get the conversation having a specified Id as LiveData.

Return

LiveData of STWConversation or null

Parameters

context

The application context

conversationId

The conversation identifier