Aug 31, 2018 · 1 min read
Hi!
I just tried this code:
gateway.makeSomething()
.observeOn(AndroidSchedulers.mainThread())
.andThen { router.exit() }
.subscribe({}, { it.printStackTrace() })
And all worked fine, router method was called. makeSomething() method just returns Completable.fromAction(). Could you please explain than. I do not understand a little bit :)