Skip to content

how to set cancelable false? #11

@AmrutGhatage

Description

@AmrutGhatage
    new PromptDialog(this)
            .setDialogType(PromptDialog.DIALOG_TYPE_WARNING)
            .setCancelable(false)
            .setTitleText("Alert") //  Shows error ...why?
            .setContentText("Are you there")
            .setPositiveListener("YES", new PromptDialog.OnPositiveListener()
            {
                @Override
                public void onClick(PromptDialog dialog) {
                    dialog.dismiss();
                }
            }).show();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions