Skip to content

Instantly share code, notes, and snippets.

@KucherenkoIhor
Created November 26, 2017 17:40
Show Gist options
  • Save KucherenkoIhor/7c44bcea0cee7da252507a4e69c7a568 to your computer and use it in GitHub Desktop.
Save KucherenkoIhor/7c44bcea0cee7da252507a4e69c7a568 to your computer and use it in GitHub Desktop.
val textInputLayouts = arrayOf(
tilFirstName,
tilLastName,
tilEmail,
tilPhone,
tilYear,
tilDob,
tilPassword,
tilConfirmPassword)
RxValidationTextInputLayout.combineOnReady(*textInputLayouts) { observable ->
disposable = observable.subscribe { btnSignIn.isEnabled = it }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment