Example usage for android.app Fragment performTrimMemory

List of usage examples for android.app Fragment performTrimMemory

Introduction

In this page you can find the example usage for android.app Fragment performTrimMemory.

Prototype

void performTrimMemory(int level) 

Source Link

Usage

From source file:android.app.FragmentManager.java

public void dispatchTrimMemory(int level) {
    if (mAdded != null) {
        for (int i = 0; i < mAdded.size(); i++) {
            Fragment f = mAdded.get(i);
            if (f != null) {
                f.performTrimMemory(level);
            }//from  w  w w.  j a  va  2 s . c o  m
        }
    }
}