Code example for DialogFragment

Methods: onCreateDialog

0
		savedInstanceState.get(TAG.concat(KEY_mEditText_text));
	} 
 
	/** @see android.support.v4.app.DialogFragment#onCreateDialog(android.os.Bundle) */ 
	@Override public Dialog onCreateDialog ( Bundle savedInstanceState ) {
		return super.onCreateDialog(savedInstanceState);
	} 
 
	/** @see android.support.v4.app.DialogFragment#onSaveInstanceState(android.os.Bundle) */ 
	@Override public void onSaveInstanceState ( Bundle bundle ) {
		super.onSaveInstanceState( bundle );
		if (null==mEditText) { return; }
		bundle.putString(TAG+KEY_mEditText_text, mEditText.getText().toString());
	} 
 
}