Edited canteen views to have direct database access in the CanteenPageFragment.kt, allowing for filtering the individual days through the database; filtering now works (with changes animated!!) through updating a LiveData and observing it in the page fragment

This commit is contained in:
denizk0461
2023-04-28 22:44:23 +02:00
parent 509a0434c5
commit 8fb41d6520
11 changed files with 320 additions and 193 deletions
@@ -29,7 +29,7 @@ class StudIPEventItemAdapter(
/**
* List of all events.
*/
private var events: MutableList<StudIPEvent> = mutableListOf()
private val events: MutableList<StudIPEvent> = mutableListOf()
/**
* Retrieve an instance of Calendar to check whether the adapter's day matches the current day.