com.metaio.tools
Class Memory

java.lang.Object
  extended by com.metaio.tools.Memory

public final class Memory
extends Object

This class provide different memory management methods

Author:
arsalan.malik

Constructor Summary
Memory()
           
 
Method Summary
static void unbindViews(View view)
          This will recursively unbind all the views in the given view hierarchy.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Memory

public Memory()
Method Detail

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