Skip to content

Instantly share code, notes, and snippets.

@JoseAlcerreca
Created April 26, 2018 10:20
Show Gist options
  • Save JoseAlcerreca/f0b26877262e291307e922116aa5017d to your computer and use it in GitHub Desktop.
Save JoseAlcerreca/f0b26877262e291307e922116aa5017d to your computer and use it in GitHub Desktop.
listViewModel.navigateToDetails.observe(this, Observer {
if (it) {
myViewModel.navigateToDetailsHandled()
startActivity(DetailsActivity...)
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment