I'm working on my custom Observables in an effort to make them more reusable throughout my code and wondering on the best [correct] way to do it.
What I am doing is just implementing the Observable.OnSubscribe<> interface and working at the call() method.
Basically, I want to subscribe to another Observable and depending on its result, emit one or other data conditionally. Is it a bad practice to subscribe to another Observable inside the aforementioned call() method? It seems clumsy to me at least. Or should I use an Rx operator in a different way that I'm (still) not aware of?
Note: I'm not using Java8 and Retrolambda, so please, don't use lambdas on any possible answers.