#76 sessionreportstate om een sessionreport mee te geven van scherm naar scherm
This commit is contained in:
parent
b0c4f44833
commit
ae685070ae
1 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,14 @@
|
||||||
package be.ugent.sel.studeez.data
|
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
|
||||||
}
|
}
|
Reference in a new issue