Created
May 17, 2018 13:28
-
-
Save w9jds/712ab3b06629b2658554f69b6b90d653 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model.loading().observe(this, Observer { | |
when (it) { | |
true -> binding.contentLoading.show() | |
false -> binding.contentLoading.hide() | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment