Ololoking Ololoking - 1 year ago 195
Android Question

Material dialog library- onPositive Button clicked dismiss

I am using this Material Dialog library, and when I click

Button dialog close, how to dismiss this closing of dialog?
Thanks for answers.

Answer Source

add: autoDismiss(false)

  new MaterialDialog.Builder(mainActivity)
            .callback(new MaterialDialog.ButtonCallback() {
                public void onPositive(MaterialDialog dialog) {

            .typeface(titleAndActions, contentAndListItems)
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download