Skip to content

Instantly share code, notes, and snippets.

Last active Mar 15, 2019
What would you like to do?
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