ilya.gorbunov
05/04/2016, 6:09 PMRunnable in Java and () -> Unit in Kotlin are different types. In order to use the latter where the former is expected, an adapter instance implementing Runnable is created under the hood every time you pass it as argument.