Skip to content

SimpleCheckDialog

Philipp edited this page Jan 2, 2017 · 20 revisions

SimpleCheckDialog

A dialog with a checkbox.

Available customizations

  • Checkbox label
    .label(String title), .label(int resId)
  • Checkbox initial state .check(boolean checked)
  • Required flag checkRequired(boolean required) If set to true, the positive button will be disabled as long as the checkbox is not checked.

Receiving results

The Bundle returned from this dialog will contain the following extras

  • boolean CHECKED
    Weather the checkbox was finally checked or not.