generated from ajou4095/template-android
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
41 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
.../ac/dnd/bookkeeping/android/presentation/ui/main/login/onboarding/LoginOnBoardingEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
package ac.dnd.bookkeeping.android.presentation.ui.main.login.onboarding | ||
|
||
sealed interface LoginOnBoardingEvent { | ||
data object GoToNextStep : LoginOnBoardingEvent | ||
} | ||
sealed interface LoginOnBoardingEvent |
4 changes: 1 addition & 3 deletions
4
...ac/dnd/bookkeeping/android/presentation/ui/main/login/onboarding/LoginOnBoardingIntent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
package ac.dnd.bookkeeping.android.presentation.ui.main.login.onboarding | ||
|
||
sealed interface LoginOnBoardingIntent { | ||
data object OnClickNextStep : LoginOnBoardingIntent | ||
} | ||
sealed interface LoginOnBoardingIntent |
3 changes: 1 addition & 2 deletions
3
.../ac/dnd/bookkeeping/android/presentation/ui/main/login/onboarding/LoginOnBoardingModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
package ac.dnd.bookkeeping.android.presentation.ui.main.login.onboarding | ||
|
||
class LoginOnBoardingModel( | ||
val loadingState: LoginOnBoardingState.Loading, | ||
val buttonState: LoginOnBoardingState.Button | ||
val state: LoginOnBoardingState | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 1 addition & 12 deletions
13
.../ac/dnd/bookkeeping/android/presentation/ui/main/login/onboarding/LoginOnBoardingState.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,5 @@ | ||
package ac.dnd.bookkeeping.android.presentation.ui.main.login.onboarding | ||
|
||
import ac.dnd.bookkeeping.android.domain.model.error.ServerException | ||
|
||
sealed interface LoginOnBoardingState { | ||
sealed interface Loading { | ||
data object Progress : Loading | ||
data object Success : Loading | ||
data class Failure(val exception: ServerException) : Loading | ||
} | ||
|
||
sealed interface Button { | ||
data object Default : Button | ||
data object Pressed : Button | ||
} | ||
data object Init : LoginOnBoardingState | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters