You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
( the UI is hint "isLegalPassword" & "not email address" )
but UI (XXXFragmnet ) only get one change
how use combine & one MutableStateFlow show detail error ?
THX
The text was updated successfully, but these errors were encountered:
CMingTseng
changed the title
How combine use one MutableStateFlow ? and let UI show multi error ?
How combine use one MutableStateFlow ? and let UI show multi error hint ?
Sep 27, 2022
Dear Sir
if mix _firstName & _password & _userID at one = MutableStateFlow(UIState)
like
https://github.com/ydhnwb/android-clean-architecture/blob/ab9ab0b69d43489709b0b7954c316366022e4d2a/app/src/main/java/com/ydhnwb/cleanarchitectureexercise/presentation/login/LoginViewModel.kt#L18
https://github.com/Shivamdhuria/stateFlows/blob/master/app/src/main/java/com/example/stateflow/backoff/data/ResultWrapper.kt
i want Validate "input " by combine
like :
when inputs (email & pwd) all error
the state.value has two times change
( the UI is hint "isLegalPassword" & "not email address" )
but UI (XXXFragmnet ) only get one change
how use combine & one MutableStateFlow show detail error ?
THX
The text was updated successfully, but these errors were encountered: