Example usage for android.support.v4.app BackstackReader isInBackStack

List of usage examples for android.support.v4.app BackstackReader isInBackStack

Introduction

In this page you can find the example usage for android.support.v4.app BackstackReader isInBackStack.

Prototype

public static boolean isInBackStack(final Fragment fragment) 

Source Link

Document

Checks whether or not a given fragment is on the backstack of the fragment manager (could also be on top of the backstack and hence visible)

Usage

From source file:net.grandcentrix.thirtyinch.TiDialogFragment.java

@Override
public final boolean isFragmentInBackstack() {
    return BackstackReader.isInBackStack(this);
}

From source file:net.grandcentrix.thirtyinch.plugin.TiFragmentPlugin.java

@Override
public boolean isFragmentInBackstack() {
    return BackstackReader.isInBackStack(getFragment());
}

From source file:net.grandcentrix.thirtyinch.TiFragment.java

@Override
public boolean isFragmentInBackstack() {
    return BackstackReader.isInBackStack(this);
}