Skip to content

Commit

Permalink
Update #11: mypage intent
Browse files Browse the repository at this point in the history
  • Loading branch information
0se0 committed Dec 17, 2024
1 parent 6cdfe02 commit dc0fe68
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 7 additions & 0 deletions app/src/main/java/org/sopt/and/feature/mypage/MyPageIntent.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.sopt.and.feature.mypage

sealed class MyPageIntent {
data object LoadProfile : MyPageIntent()
data object ClickMoreHistory : MyPageIntent()
data object Logout : MyPageIntent()
}
8 changes: 6 additions & 2 deletions app/src/main/java/org/sopt/and/feature/mypage/MyPageState.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@ package org.sopt.and.feature.mypage
data class MyPageState(
val hobby: String? = null,
val username: String? = null,
val isLoading: Boolean = false
)
val isLoading: Boolean = false,
val viewHistoryList: List<Int> = emptyList(),
val interestedProgramList: List<Int> = emptyList(),
val interestedMovieList: List<Int> = emptyList(),
val editorPickList: List<Int> = emptyList()
)

0 comments on commit dc0fe68

Please sign in to comment.