Skip to content

Instantly share code, notes, and snippets.

@annchar
Last active June 26, 2018 04:35
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 annchar/732606bc81d11a028dc592be638f9e95 to your computer and use it in GitHub Desktop.
Save annchar/732606bc81d11a028dc592be638f9e95 to your computer and use it in GitHub Desktop.
private fun subscribeUi(adapter: GroupBallListAdapter) {
mGroupsBallViewModel.getLeagueGroup()
.observe(this, Observer { leagueGroup ->
leagueGroup?.standings?.let {
adapter.value = it
}
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment