diff --git a/app/src/main/java/be/ugent/sel/studeez/data/SelectedTimerRepo.kt b/app/src/main/java/be/ugent/sel/studeez/data/SelectedTimerRepo.kt index 1aa763d..9fcd487 100644 --- a/app/src/main/java/be/ugent/sel/studeez/data/SelectedTimerRepo.kt +++ b/app/src/main/java/be/ugent/sel/studeez/data/SelectedTimerRepo.kt @@ -1,11 +1,14 @@ -package be.ugent.sel.studeez.screens.timers +package be.ugent.sel.studeez.data import be.ugent.sel.studeez.data.local.models.timer_functional.FunctionalTimer 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 SelectedTimerRepo @Inject constructor(){ var selectedTimer: FunctionalTimer? = null - } \ No newline at end of file