Skip to content

Instantly share code, notes, and snippets.

@sellmair
Last active Mar 15, 2019
Embed
What would you like to do?
A_K/N_1
interface LoginViewModel {
/* Inputs */
val userName: Subject<String>
val password: Subject<String>
val passwordRepetition: Subject<String>
val login: Trigger
/* Outputs */
val isLogginIn: Observable<Boolean>
val loginResult: Observable<LoginResult>
val userNameValidation: Observable<UserNameValidation>
val passwordValid: Observable<PasswordValidation>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment