n
-.php
d
Copy code
.map{ Result.Success(it) }
.onErrorReturn{ Result.Error(it) }
n
Screen Shot 2018-10-18 at 7.07.36 PM.png
d
man, this is really basic issue your apiRx return a Single<Result> already if you map it again in a Result of course it is gonna return a Single<Result<Result>>
and it has nothing to do with kotlin or android
r
🙂