Skip to content

Commit

Permalink
修复一次创建两个搜索页面的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
CeuiLiSA committed Jun 8, 2020
1 parent 4fcea3d commit cbb116e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions app/src/main/java/ceui/lisa/fragments/FragmentSearch.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ public void afterTextChanged(Editable editable) {
@Override
public boolean onEditorAction(TextView textView, int i, KeyEvent keyEvent) {
if (!TextUtils.isEmpty(baseBind.inputBox.getText().toString())) {
Common.showLog(className + "点击了一次输入框的搜索");
dispatchClick(baseBind.inputBox.getText().toString(), searchType);
return true;
} else {
Common.showToast("请输入搜索内容");
}
Expand Down

0 comments on commit cbb116e

Please sign in to comment.