package

com.facebook.common.memory

Some utility classes in order to trim data from java memory

Interfaces

MemoryTrimmable A class can implement this interface to react to a MemoryTrimmableRegistry's request to trim memory. 
MemoryTrimmableRegistry A class which keeps a list of other classes to be notified of system memory events. 
MemoryUiTrimmable Intended for UI elements to backup and restore elements from memory on the UI thread  

Classes

MemoryUiTrimmableRegistry Used to make available a list of all UI objects in the system that can be trimmed on background. 
NoOpMemoryTrimmableRegistry Implementation of MemoryTrimmableRegistry that does not do anything. 

Enums

MemoryTrimType Types of memory trim.