|
|
@ -2111,13 +2111,12 @@ public class Helper {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void hideKeyboard(final View view) {
|
|
|
|
static void hideKeyboard(final View view) {
|
|
|
|
view.post(new RunnableEx("hideKeyboard") {
|
|
|
|
try {
|
|
|
|
@Override
|
|
|
|
Log.i("hideKeyboard view=" + view);
|
|
|
|
protected void delegate() {
|
|
|
|
new SoftwareKeyboardControllerCompat(view).hide();
|
|
|
|
Log.i("hideKeyboard view=" + view);
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
new SoftwareKeyboardControllerCompat(view).hide();
|
|
|
|
Log.e(ex);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static boolean isKeyboardVisible(final View view) {
|
|
|
|
static boolean isKeyboardVisible(final View view) {
|
|
|
|