https://kotlinlang.org logo
#random
Title
# random
w

whalemare

07/12/2017, 10:50 AM
@smilecs
Copy code
fun passRunnable() {
        useRunnable(Runnable { 
            print("runnable block")
        })
    }

    fun useRunnable(body: Runnable) {
        body.run()
    }