frank-tan / SinsOfMemoryLeaks

Some common patterns of memory leaks in Android development and how to fix/avoid them

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sins of Memory Leaks

This app shows common patterns of memory leaks in Android development and how to fix them. LEAK branch has the code which has memory leaks. These memory leaks are fixed in FIXED branch.

LEAK Branch FIXED Branch
Leak app screenshot Leak fixed app screenshot

Build

Two branches have different app ids which allow them to co-exist on the same device or emulator.

Launcher icons for both apps

##Warning This app contains various memory leaks. It is intended for Android developers' study purpose only. The author does not take responsibility for any potential damage to your devices.

I am going to write an artical about the examples in this app. Stay tuned in this space...

About

Some common patterns of memory leaks in Android development and how to fix/avoid them

License:Apache License 2.0


Languages

Language:Java 100.0%