Adapter now accepts "type" strings from database and can display information accordingly; app bar title font enlargened

This commit is contained in:
Deniz Düzgören
2019-09-13 12:03:14 +02:00
parent 78dd498a63
commit bf52312d99
13 changed files with 98 additions and 58 deletions
@@ -4,7 +4,17 @@ import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "subst_table")
internal data class Subst(val group: String, val date: String, val time: String, val course: String, val room: String, val additional: String, val teacher: String, val priority: Int) {
internal data class Subst(
val group: String,
val date: String,
val time: String,
val course: String,
val room: String,
val additional: String,
val teacher: String,
val type: String,
val priority: Int
) {
@PrimaryKey(autoGenerate = true)
var id: Int = 0