jdemeulenaere
06/25/2019, 4:58 PMDico
06/25/2019, 5:29 PMoperator fun isEmptyValue(): Boolean
or whateverelizarov
06/25/2019, 8:28 PMjdemeulenaere
06/26/2019, 10:14 AMOleh Havrysh
07/12/2019, 12:57 PMResult
could be safely used in my app after adding -Xallow-result-return-type
? (If I don’t use !!, ? operators)
Just want to create BaseInteractor
for my architecture that would return Result<T>
fun CoroutineScope.run(params:P):ReceiveChannel<Result<T>>
So in that way I’m gonna handle data and errors in `Presenter’elizarov
07/12/2019, 2:58 PMOleh Havrysh
07/15/2019, 8:09 AMResult
in my base architecture, it will always be valid (both fun action():Result
and fun action():Channel<Result>
).
That is, I want to be sure that in the next versions of Kotlin it will not be forbidden.
In next versions of Kotlin Result
will be usable for return type without Xallow-result-return-type
flag, yes?Dico
07/15/2019, 10:02 AMelizarov
07/15/2019, 10:53 AM