You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's there to be worried about? The aggressiveness of GC doesn't change the fact that when a GC pass occurs, the object being referenced by the WeakReference is either referenced in other locations or not.
I read RxAndroid sources a bit and when I reached this classes (https://github.com/ReactiveX/RxAndroid/blob/0.x/library/src/main/java/rx/android/functions/ViewAction1.java) I start worried about how using WeakReferences can afect application on real device and production application. Also weak refereces used in more important place like this (https://github.com/ReactiveX/RxAndroid/blob/0.x/library/src/main/java/rx/android/operators/OperatorViewClick.java)
Here is a reason (http://developer.android.com/training/displaying-bitmaps/cache-bitmap.html#memory-cache, note section).
The text was updated successfully, but these errors were encountered: