amitshekhariitbhu / RxJava2-Android-Samples

RxJava 2 Android Examples - How to use RxJava 2 in Android
https://outcomeschool.com
Apache License 2.0
4.96k stars 1.06k forks source link

How and when to dispose subscriber in Android #47

Open ganeshhsb opened 5 years ago

ganeshhsb commented 5 years ago

Hi, what are the best practice to dispose subscriber? In my application in few places memory is getting leak because of late dispose (ex: disposing only in onDestroy)