#76 sessionreportstate om een sessionreport mee te geven van scherm naar scherm

This commit is contained in:
lbarraga 2023-04-25 18:07:06 +02:00
parent b0c4f44833
commit ae685070ae

View file

@ -1,4 +1,14 @@
package be.ugent.sel.studeez.data
class SessionReportState {
import be.ugent.sel.studeez.data.local.models.SessionReport
import javax.inject.Inject
import javax.inject.Singleton
/**
* Used to communicate the SelectedTimer from the selection screen to the session screen.
* Because this is a singleton-class the view-models of both screens observe the same data.
*/
@Singleton
class SessionReportState @Inject constructor(){
var sessionReport: SessionReport? = null
}