orangy
10/26/2018, 4:00 PMit
cannot be added, because it can change a meaning of some it
already usedRuckus
10/26/2018, 4:02 PMwhen
use a more lambda-ish syntax?
when (getData()) { data ->
data is Thing -> ...
...
}
it
orangy
10/26/2018, 4:10 PMwhen
is actually a function 🙂elizarov
10/26/2018, 4:20 PMRuckus
10/26/2018, 4:24 PMelizarov
10/26/2018, 4:25 PMcomponentX
operatorsRuckus
10/26/2018, 5:20 PMKClasses.sealdSubclasses
?louiscad
10/26/2018, 6:38 PMorangy
10/26/2018, 6:42 PMwidget.addListener {
move -> …
click -> …
cancel -> …
}
where move
, click
and cancel
are methods of the interface that I need to pass to addListener
.
Multi-lambda if you wish.Ruckus
10/26/2018, 7:09 PM