Daniel Rodak
07/18/2019, 7:14 AMactionIntent()
returns Observable and loadFile()
returns Completable. I want to zip them and return Boolean value of the observable. Is this the right way to fit Completable?gsala
07/18/2019, 8:43 AMactionIntent().delay { loadFile().andThen(Observable.just(Unit) }
Daniel Rodak
07/18/2019, 12:39 PMloadFile().andThen(Observable.just(true))
is a correct way to chain Completable with Observable or should I do this in the other wayalexsullivan114
07/18/2019, 2:42 PMloadFile
do? My knee jerk reaction from the naming is that loadFile
would be a Single
with file contents.Daniel Rodak
07/19/2019, 7:48 AMloadFile
loads file that's hold by singleton injected by dagger so I don't need to return it from that method(that's why I decided to use Completable)