https://kotlinlang.org logo
#announcements
Title
# announcements
p

pavel.shchahelski

11/09/2017, 5:41 PM
Lambdas can be 3 different types - capturing, non-capturing and mutable. In android studio it is very easy to convert kotlin to java via bytecode. With this help it is possible to see how kotlin lambda converts at the end to java. It can be either singleton or anonymous class. Basically in example from @Andreas Sinz it will be singleton that’s why equals returned true
2 Views