https://kotlinlang.org logo
v

voddan

11/22/2015, 3:11 PM
now Kotlin supports a convention that if you interop with Java, and want to pass a lambda, instead of casting it to an interface you put the interface's name before it:
Drawable {a -> 239}