Launcher widget

This commit is contained in:
Moez Bhatti
2018-03-27 01:12:30 -04:00
parent 38ea0f8a78
commit bb8b2e6cdc
17 changed files with 718 additions and 1 deletions
@@ -20,6 +20,10 @@ package manager
interface WidgetManager {
companion object {
const val ACTION_NOTIFY_DATASET_CHANGED = "com.moez.QKSMS.intent.action.ACTION_NOTIFY_DATASET_CHANGED"
}
fun updateUnreadCount(count: Int)
}
@@ -30,6 +30,8 @@ interface MessageRepository {
fun getConversations(archived: Boolean = false): Flowable<List<Pair<Conversation, Message>>>
fun getConversationsForWidget(): List<Pair<Conversation, Message>>
fun getBlockedConversations(): Flowable<List<Conversation>>
fun getConversationAsync(threadId: Long): Conversation