Created
November 30, 2017 19:12
-
-
Save abdurahmanadilovic/5d2b59a2a0e19c36816e918b4d7d2fdf to your computer and use it in GitHub Desktop.
Coroutine UI context
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
launch { | |
// some code | |
val value = dataStorageImplementation.getStringValue("some_key") | |
// some code | |
launch (UI) { | |
textView.text = value | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment