Example usage for android.app Dialog dispatchOnCreate

List of usage examples for android.app Dialog dispatchOnCreate

Introduction

In this page you can find the example usage for android.app Dialog dispatchOnCreate.

Prototype

void dispatchOnCreate(Bundle savedInstanceState) 

Source Link

Usage

From source file:android.app.Activity.java

private Dialog createDialog(Integer dialogId, Bundle state, Bundle args) {
    final Dialog dialog = onCreateDialog(dialogId, args);
    if (dialog == null) {
        return null;
    }/*from w  ww .  j a  v  a 2  s . co  m*/
    dialog.dispatchOnCreate(state);
    return dialog;
}