forked from tom.biard/ScienceQuest
parent
12988cb4a9
commit
506c1df396
@ -0,0 +1,9 @@
|
|||||||
|
package fr.iut.sciencequest.ViewModels
|
||||||
|
|
||||||
|
import androidx.lifecycle.ViewModel
|
||||||
|
import fr.iut.sciencequest.ViewModels.UiStates.KahootUIState
|
||||||
|
import kotlinx.coroutines.flow.MutableStateFlow
|
||||||
|
|
||||||
|
class KahootViewModel: ViewModel() {
|
||||||
|
var uiState = MutableStateFlow(KahootUIState())
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package fr.iut.sciencequest.ViewModels.UiStates
|
||||||
|
|
||||||
|
import fr.iut.sciencequest.model.dto.question.QuestionWithSimpleResponseDTO
|
||||||
|
import fr.iut.sciencequest.model.dto.reponse.ReponseSimpleDTO
|
||||||
|
import fr.iut.sciencequest.stub.StubQuestionWithReponses
|
||||||
|
|
||||||
|
data class KahootUIState (
|
||||||
|
val question: QuestionWithSimpleResponseDTO = StubQuestionWithReponses
|
||||||
|
)
|
Loading…
Reference in new issue