Why use Observable.create() and not just inherit from Observable?

In this tip by Wolfram Rittmeyer you’ll get some his thoughts why it’s better not to inherit from RxJava’s Observable class. One of the reasons is hook – RxJava allows you to supply hooks that wrap certain method calls and allow you to substitute certain aspects of how RxJava behaves.

Link to the tip: Why use Observable.create() and not just inherit from Observable?

Leave a Reply

Your email address will not be published. Required fields are marked *