https://kotlinlang.org logo
e

elizarov

07/04/2017, 10:35 AM
For any
blockingOperation
you can write the corresponding “non-blocking” wrapper that will be safe to use from UI thread: