Skip to content

Commit 5ef629b

Browse files
committed
优化dialog工具
1 parent 5e9411f commit 5ef629b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

base_iotutils/src/main/java/com/face_chtj/base_iotutils/DialogUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public static void showCheckedItem(Context context, String title, String[] array
6969
showCheckedItem (context,title,arrays,true);
7070
}
7171

72-
public static void showCheckedItem(Context context, String title, String[] arrays, boolean returnPositions) {
72+
public static void showCheckedItem(final Context context, final String title, final String[] arrays, final boolean returnPositions) {
7373
final boolean[] checkedItems = new boolean[arrays.length];
7474
AlertDialog.Builder builder = new AlertDialog.Builder(context);
7575
builder.setTitle(title);
@@ -138,7 +138,6 @@ public void onDismiss(DialogInterface dialog) {
138138
}
139139
}
140140

141-
142141
public static void showEdite(Context context, String title, String etContent) {
143142
createDialog(context, R.drawable.ic_dialog_tool, "", title, etContent, true);
144143
}

0 commit comments

Comments
 (0)