File tree Expand file tree Collapse file tree
presentation/src/main/java/com/threegap/bitnagil/presentation/routinelist/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package com.threegap.bitnagil.presentation.routinelist.model
2+
3+ import com.threegap.bitnagil.presentation.common.mviviewmodel.MviIntent
4+ import java.time.LocalDate
5+
6+ sealed class RoutineListIntent : MviIntent {
7+ data class OnDateSelect (val date : LocalDate ) : RoutineListIntent()
8+ data object ShowDeleteConfirmBottomSheet : RoutineListIntent ()
9+ data object HideDeleteConfirmBottomSheet : RoutineListIntent ()
10+ data object NavigateToBack : RoutineListIntent ()
11+ }
Original file line number Diff line number Diff line change 1+ package com.threegap.bitnagil.presentation.routinelist.model
2+
3+ import com.threegap.bitnagil.presentation.common.mviviewmodel.MviSideEffect
4+
5+ sealed interface RoutineListSideEffect : MviSideEffect {
6+ data object NavigateToBack : RoutineListSideEffect
7+ }
Original file line number Diff line number Diff line change 1+ package com.threegap.bitnagil.presentation.routinelist.model
2+
3+ import com.threegap.bitnagil.presentation.common.mviviewmodel.MviState
4+ import kotlinx.parcelize.Parcelize
5+ import java.time.LocalDate
6+
7+ @Parcelize
8+ data class RoutineListState (
9+ val selectedDate : LocalDate = LocalDate .now(),
10+ val deleteConfirmBottomSheetVisible : Boolean = false ,
11+ ) : MviState
You can’t perform that action at this time.
0 commit comments