edvin
09/22/2016, 1:13 PMthomasnield
09/22/2016, 1:32 PMcarlw
09/22/2016, 1:50 PMcarlw
09/22/2016, 1:50 PMron
09/22/2016, 1:55 PMcarlw
09/22/2016, 2:04 PMedvin
09/22/2016, 2:17 PMedvin
09/22/2016, 2:48 PMListView.cellCache
to the guideedvin
09/22/2016, 2:48 PMedvin
09/22/2016, 5:02 PMRuckus
09/22/2016, 5:05 PMonChange
overrides for primitive observables (e.g. ObservableIntegerValue
that uses op: (Int) -> Unit
instead of op: (Int?) -> Unit
)?edvin
09/22/2016, 5:06 PMonChange
and the new value is null, right? In that case, yes I think so.Ruckus
09/22/2016, 5:10 PMop
uses Number?
instead of Int
, so you just have to ensure it isn't null and cast it to an int, but for ObservableIntegerValue
, we already know that the return is a non null integer wrapped in a Number
.Ruckus
09/22/2016, 5:10 PMedvin
09/22/2016, 5:10 PMedvin
09/22/2016, 5:11 PMedvin
09/22/2016, 5:21 PMBoom :)▾
Ruckus
09/22/2016, 5:24 PMRuckus
09/22/2016, 5:25 PMorg.jetbrains.kotlin.asJava.LightClassUtilsKt.toLightClass(Lorg/jetbrains/kotlin/psi/KtClassOrObject;)Lorg/jetbrains/kotlin/asJava/KtLightClass;
Ruckus
09/22/2016, 5:25 PMedvin
09/22/2016, 5:25 PMRuckus
09/22/2016, 5:26 PMedvin
09/22/2016, 5:27 PMRuckus
09/22/2016, 5:28 PMedvin
09/22/2016, 5:30 PMedvin
09/22/2016, 5:31 PMRuckus
09/22/2016, 5:32 PMRuckus
09/22/2016, 5:32 PMRuckus
09/22/2016, 5:32 PM