Archived
Adapter now accepts "type" strings from database and can display information accordingly; app bar title font enlargened
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user