These are chat archives for ReactiveX/RxJava

25th
Apr 2016
Boy Wang
@boyw165
Apr 25 2016 04:02
Does rx-java provide facility such as the weak subscription like the following?
http://blog.functionalfun.net/2012/03/weak-events-in-net-easy-way.html
Boy Wang
@boyw165
Apr 25 2016 05:11
Oh the author updated the conclusion, Activities won’t maintain strong references to their anonymous inner classes unless you store those classes in an instance variable, so technically, you’d have to store your Subscribers in instance variables to prevent them for being garbage collected.. So don't worry about the leak from anonymous inner classes.