com.metaio.tools
Class Memory
java.lang.Object
com.metaio.tools.Memory
public final class Memory
- extends Object
This class provide different memory management methods
- Author:
- arsalan.malik
Method Summary |
static void |
unbindViews(View view)
This will recursively unbind all the views in the given view hierarchy. |
Memory
public Memory()
unbindViews
public static void unbindViews(View view)
- This will recursively unbind all the views in the given view hierarchy.
This should be used when the root view has a lot of Drawables in its
hierarchy.
Example usage: Memory.unbindViews(findViewById(android.R.id.content))
- Parameters:
view
- Root view