private void initializeCustomDialog() {
        MaterialDialog.Builder builder = new MaterialDialog.Builder(getActivity());
        configureHeaderDialogBuilder(builder);
        configureButtonBarDialogBuilder(builder);
        builder.setView(R.layout.custom_dialog_content);
        builder.setCustomTitle(R.layout.custom_dialog_title);
        builder.setCustomMessage(R.layout.custom_dialog_message);
        builder.setCustomButtonBar(R.layout.custom_dialog_button_bar);
        builder.setCustomHeader(R.layout.custom_dialog_header);
        customDialog = builder.create();
    }
private void initializeCustomDialog ( ) { MaterialDialog . Builder builder = new MaterialDialog . Builder ( getActivity ( ) ) ; configureHeaderDialogBuilder ( builder ) ; configureButtonBarDialogBuilder ( builder ) ; builder . setView ( R . layout . custom_dialog_content ) ; builder . setCustomTitle ( R . layout . custom_dialog_title ) ; builder . setCustomMessage ( R . layout . custom_dialog_message ) ; builder . setCustomButtonBar ( R . layout . custom_dialog_button_bar ) ; builder . setCustomHeader ( R . layout . custom_dialog_header ) ; customDialog = builder . create ( ) ; }
Initializes the custom dialog.