onMemoryPressure method

void onMemoryPressure()

Called when the system is running low on memory. Override this method to release caches or other resources that aren't critical for the app to function.

Implementation

void onMemoryPressure() {}