leosan
11/16/2017, 4:32 PMlaunch(CommonPool) {
view.show()
val result = ApiClient.getSomething().awaitResult()
doSomethingWithResult(result)
view.hide()
}
and it works just fine, but I would like to abstract this to avoid writing this show/hide every time