Example usage for android.support.v4.app MyDialogFragment show

List of usage examples for android.support.v4.app MyDialogFragment show

Introduction

In this page you can find the example usage for android.support.v4.app MyDialogFragment show.

Prototype

public int show(FragmentTransaction transaction, String tag) 

Source Link

Document

Display the dialog, adding the fragment using an existing transaction and then committing the transaction.

Usage

From source file:cz.urbangaming.galgs.GAlg.java

private void perflog(long info) {
    Log.d(DEBUG_TAG, "Computed in " + String.valueOf(info));
    MyDialogFragment dialog = new MyDialogFragment("Computed in " + String.valueOf(info) + " ms");
    dialog.show(this.getSupportFragmentManager(), "Notice");
}