Commit 123aaf1e authored by fallenstardust's avatar fallenstardust

查询时不再显示wait对话框

parent e1a630f1
......@@ -131,7 +131,7 @@ public class CardLoader implements ICardSearcher {
if (mCallBack != null) {
mCallBack.onSearchStart();
}
Dialog wait = DialogPlus.show(context, null, context.getString(R.string.searching));
//Dialog wait = DialogPlus.show(context, null, context.getString(R.string.searching));
VUiKit.defer().when(() -> {
SparseArray<Card> cards = mCardManager.getAllCards();
List<Card> list = new ArrayList<>();
......@@ -159,12 +159,12 @@ public class CardLoader implements ICardSearcher {
mCallBack.onSearchResult(noting, false);
}
LogUtil.e("kk", "search", e);
wait.dismiss();
//wait.dismiss();
}).done((tmp) -> {
if (mCallBack != null) {
mCallBack.onSearchResult(tmp, false);
}
wait.dismiss();
//wait.dismiss();
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment