-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#219 feature:intro 모듈 내 로그인, 회원가입 클래스 새로운 패키지로 이동, 회원가입 시 닉네임 속성 이름 오…
…류로 가입이 되지 않는 문제 수정
- Loading branch information
Showing
17 changed files
with
138 additions
and
112 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
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
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
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
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
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
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
2 changes: 1 addition & 1 deletion
2
...diproject/feature/intro/LoginViewModel.kt → ...ect/feature/intro/login/LoginViewModel.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
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
32 changes: 32 additions & 0 deletions
32
feature/intro/src/main/java/com/android/mediproject/feature/intro/signup/SignUpUiState.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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package com.android.mediproject.feature.intro.signup | ||
|
||
import androidx.annotation.StringRes | ||
import com.android.mediproject.feature.intro.R | ||
|
||
sealed interface SignUpUiState { | ||
@get:StringRes val text: Int? | ||
|
||
data object SigningUp : SignUpUiState { | ||
override val text: Int? = null | ||
} | ||
|
||
data object RegexError : SignUpUiState { | ||
override val text: Int = R.string.signInRegexError | ||
} | ||
|
||
data object PasswordError : SignUpUiState { | ||
override val text: Int = R.string.signUpPasswordError | ||
} | ||
|
||
data object UserExists : SignUpUiState { | ||
override val text: Int = R.string.signUpUserExists | ||
} | ||
|
||
data object Success : SignUpUiState { | ||
override val text: Int = R.string.signUpSuccess | ||
} | ||
|
||
data class Failed(val message: String) : SignUpUiState { | ||
override val text: Int? = null | ||
} | ||
} |
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
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
Oops, something went wrong.