Moved Message class to Data class file

This commit is contained in:
Jim Martens 2019-07-18 21:31:59 +02:00
parent 9fd344c452
commit de36afeeb5
2 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1,3 @@
package de.twomartens.troubleshooting
class Message(val message: String, val sent: Boolean, val createdAt: Long)

View File

@ -6,8 +6,6 @@ import androidx.recyclerview.widget.RecyclerView
import kotlinx.android.synthetic.main.message_sent.view.*
import java.text.DateFormat
class Message(val message: String, val sent: Boolean, val createdAt: Long)
const val VIEW_TYPE_MESSAGE_RECEIVED: Int = 1
const val VIEW_TYPE_MESSAGE_SENT: Int = 2