Leaking Inner Class | Android Smells Catalogue
Non-static inner classes holds a reference to the outer class. This could lead to a memory leak.
Here are two examples: One inner class and one anonymous inner class.
Read full article from Leaking Inner Class | Android Smells Catalogue
No comments:
Post a Comment