Merge pull request #5 from yehunxin/yehunxin

fix bug
pull/11/head
fengyuecanzhu 3 years ago committed by GitHub
commit e19f7cc51b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/src/main/java/xyz/fycz/myreader/ui/activity/SearchBookActivity.java

@ -230,9 +230,7 @@ public class SearchBookActivity extends BaseActivity {
initHistoryList(); initHistoryList();
App.getHandler().postDelayed(() -> { App.getHandler().postDelayed(() -> {
binding.etSearchKey.requestFocus(); binding.etSearchKey.requestFocus();
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); }, 200);
imm.toggleSoftInput(0, InputMethodManager.SHOW_FORCED);
}, 400);
} }
@Override @Override

Loading…
Cancel
Save