Write all rows from Conversations table into Realm, and show snippets in list

This commit is contained in:
Moez Bhatti
2017-05-28 14:27:57 -04:00
parent 01996f0e91
commit cdecc6c5a8
8 changed files with 148 additions and 13 deletions
@@ -0,0 +1,17 @@
package com.moez.QKSMS.model
import io.realm.RealmObject
open class Conversation(
var id: Long = 0,
var date: Long = 0,
var messageCount: Int = 0,
var recipientIds: Int = 0,
var snippet: String = "",
var snippetCs: String = "",
var read: Int = 0,
var error: Int = 0,
var hasAttachment: Int = 0
) : RealmObject()