Sergio Crespo Toubes
05/09/2019, 7:20 AMjava.lang.RuntimeException: Can't toast on a thread that has not called Looper.prepare()
unsafe {
runBlocking {
fx {
val posts = !mPostsApi.getPosts(authToken)
mView.showPosts(posts)
}.handleError {
continueOn(Main)
mView.showGenericErrorAlert()
}
}
}