Example usage for android.app Fragment performContextItemSelected

List of usage examples for android.app Fragment performContextItemSelected

Introduction

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

Prototype

boolean performContextItemSelected(MenuItem item) 

Source Link

Usage

From source file:android.app.FragmentManager.java

public boolean dispatchContextItemSelected(MenuItem item) {
    if (mAdded != null) {
        for (int i = 0; i < mAdded.size(); i++) {
            Fragment f = mAdded.get(i);
            if (f != null) {
                if (f.performContextItemSelected(item)) {
                    return true;
                }/* w  w w .j  a  v  a2s .  co  m*/
            }
        }
    }
    return false;
}