dcmorse
06/22/2018, 7:22 AMdcmorse
06/22/2018, 7:22 AMHullaballoonatic
06/22/2018, 8:46 PMHullaballoonatic
06/22/2018, 8:47 PMHullaballoonatic
06/22/2018, 8:48 PMwineluis
06/24/2018, 11:16 AMOptional<? extends Enum<?>> enumProperty = block.getState().getTraitValue(EnumTraits.LOG_VARIANT);
karelpeeters
06/24/2018, 11:17 AMkarelpeeters
06/24/2018, 11:17 AMin
.wineluis
06/24/2018, 11:20 AMwineluis
06/24/2018, 11:20 AMwineluis
06/24/2018, 11:21 AMin
thereDaniele Segato
06/27/2018, 8:19 AMRaw
is actually an RxJava Single
type, x().y().z()
are a chain of Rx operators converting the Single
into an Observable
and doing other stuff.
xyz()
is actually an empty Observable
.
But this is more of a language question, it has nothing to do with RxAndreas Sinz
06/27/2018, 8:21 AMuser
06/27/2018, 8:22 AMDaniele Segato
06/27/2018, 8:24 AMnull
or I have more then 2?Andreas Sinz
06/27/2018, 8:29 AMtakeIf
(https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/take-if.html) like when() {}.takeIf { it == "foo"} ?: /* else */
Daniele Segato
06/27/2018, 8:30 AMGta
06/27/2018, 9:23 AMGta
06/27/2018, 9:23 AMclass A(b: ClassB) {
private val c = b.doSomething()
private val d = c.doSomething()
}
Gta
06/27/2018, 9:24 AMGta
06/27/2018, 9:25 AMkarelpeeters
06/27/2018, 9:29 AMkarelpeeters
06/27/2018, 9:36 AMkarelpeeters
06/27/2018, 9:36 AMDaniele Segato
06/27/2018, 12:37 PMdiesieben07
06/27/2018, 12:40 PMThis can be done in java without duplicating the variable.I would be interested to find out how you do that.
marstran
06/27/2018, 12:58 PMprivate final Implementation myData = new Implementation()
and the getter with public InterfaceOrSuperclass getMyData() { return myData; }
.diesieben07
06/27/2018, 1:07 PMRichard Green
06/28/2018, 12:57 PMmenegatti
06/28/2018, 1:02 PMM.C(3)