Code example for DialogFragment

Methods: onCreate

0
        } 
 
        @Override 
        public void onCreate(Bundle savedInstanceState) {
            transcript.add("onCreate");
            super.onCreate(savedInstanceState);
        } 
 
        @Override 
        public Dialog onCreateDialog(Bundle savedInstanceState) {
            transcript.add("onCreateDialog");
            return returnThisDialogFromOnCreateDialog == null
                    ? super.onCreateDialog(savedInstanceState)
                    : returnThisDialogFromOnCreateDialog;
        } 
 
        @Override 
        public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
            transcript.add("onCreateView");
            return inflater.inflate(R.layout.main, null);
        }