fix(ui): some bugs on back pressed

This commit is contained in:
hyb1996
2018-09-19 16:41:01 +08:00
parent 62aafaf06b
commit 723c7a7ff0
10 changed files with 63 additions and 56 deletions

View File

@@ -136,7 +136,7 @@ public class BlockedMaterialDialog extends MaterialDialog {
}
public MaterialDialog.Builder itemsCallbackMultiChoice(@Nullable Integer[] selectedIndices) {
dismissListener(dialog -> setAndNotify(new Integer[0]));
dismissListener(dialog -> setAndNotify(new int[0]));
super.itemsCallbackMultiChoice(selectedIndices, (dialog, which, text) -> {
setAndNotify(ArrayUtils.unbox(which));
return true;