the best I can think of is hiding most of this in ...
# android
k
the best I can think of is hiding most of this in a Kotlin builder so instead of:
Copy code
val activity = breakAbstractionAndGetActivityInstance()
activity.runOnUiThread{
   view.someStuff("hello")
}
I have
Copy code
ui(view) {
   someStuff("hello")
}