Break circular dependency with RxJava
Ferhat Parmak
577

I think you have a circular dependency. As long as you are subscribed to the Observable returned from the RxView.clicks(button) method you have a circular dependency to the view because as stated in the doc of the method the created observable keeps a strong reference to the view. So you still have a circular dependency but not a direct one rather an indirect one now.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.