Allow clicking anywhere in row to click through to conversation

This commit is contained in:
moezbhatti
2019-09-27 00:26:10 -04:00
parent 2b510e7bd7
commit f649f593a8
9 changed files with 52 additions and 34 deletions
@@ -37,4 +37,4 @@ open class Recipient(
?: PhoneNumberUtils.formatNumber(address, Locale.getDefault().country)
?: address
}
}
@@ -19,6 +19,7 @@
package com.moez.QKSMS.repository
import com.moez.QKSMS.model.Conversation
import com.moez.QKSMS.model.Recipient
import com.moez.QKSMS.model.SearchResult
import io.realm.RealmResults
@@ -50,6 +51,8 @@ interface ConversationRepository {
*/
fun getConversations(vararg threadIds: Long): RealmResults<Conversation>
fun getRecipient(recipientId: Long): Recipient?
fun getThreadId(recipient: String): Long?
fun getThreadId(recipients: Collection<String>): Long?