diff --git a/app/src/main/java/be/ugent/sel/studeez/data/SessionReportState.kt b/app/src/main/java/be/ugent/sel/studeez/data/SessionReportState.kt index 81e5244..47770d0 100644 --- a/app/src/main/java/be/ugent/sel/studeez/data/SessionReportState.kt +++ b/app/src/main/java/be/ugent/sel/studeez/data/SessionReportState.kt @@ -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 } \ No newline at end of file