Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jakubkinst/a940bb895db08a31eec6ed612851ae5c to your computer and use it in GitHub Desktop.
Save jakubkinst/a940bb895db08a31eec6ed612851ae5c to your computer and use it in GitHub Desktop.
val formValid = MediatorLiveData<Boolean>()
.addValueSource(email, { validateForm(email, password) })
.addValueSource(password, { validateForm(email, password) })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment