get Paged Messages By Thread Id
fun getPagedMessagesByThreadId( context: Context, conversationId: Int, ascOrder: Boolean = false): PagingSource<Int, STWBaseMessage>
Content copied to clipboard
Loading page of messages related to a specified conversationId.
Return
PagingSource list of messages as pagingSource
Parameters
context
The application context
conversation Id
The conversation identifier
asc Order
false Whether the list is ordered ascending or descending