You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am glad using this library because it's so simple to use. Sometimes, I have a problem with sheet when I after editing field like EditText, the sheet appears above the keyboard which is going to hide but as long as the keyboard hide first, it seems to be fine. My problem solved by hiding the keyboard programatically first then show the bottom sheet
View view = this.getCurrentFocus();
if (view != null) {
Log.d(TAG, "View is not null");
InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
if (imm != null) {
imm.hideSoftInputFromWindow(view.getWindowToken(), 0);
bottomSheetLayout.showWithSheetView(view);
}
}
Maybe this could help others :)
The text was updated successfully, but these errors were encountered:
I am glad using this library because it's so simple to use. Sometimes, I have a problem with sheet when I after editing field like
EditText
, the sheet appears above the keyboard which is going to hide but as long as the keyboard hide first, it seems to be fine. My problem solved by hiding the keyboard programatically first then show thebottom sheet
Maybe this could help others :)
The text was updated successfully, but these errors were encountered: