Example usage for android.app Fragment findFragmentByWho

List of usage examples for android.app Fragment findFragmentByWho

Introduction

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

Prototype

Fragment findFragmentByWho(String who) 

Source Link

Usage

From source file:android.app.FragmentManager.java

public Fragment findFragmentByWho(String who) {
    if (mActive != null && who != null) {
        for (int i = mActive.size() - 1; i >= 0; i--) {
            Fragment f = mActive.get(i);
            if (f != null && (f = f.findFragmentByWho(who)) != null) {
                return f;
            }//from   www.j  av a  2s.  c  o m
        }
    }
    return null;
}