Skip to content

Instantly share code, notes, and snippets.

@sellmair
Last active March 15, 2019 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sellmair/ddb1cb824c3e074e803eb44dadd095f8 to your computer and use it in GitHub Desktop.
Save sellmair/ddb1cb824c3e074e803eb44dadd095f8 to your computer and use it in GitHub Desktop.
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