|
|
@ -29,9 +29,9 @@ public class FragmentEx extends Fragment {
|
|
|
|
super.onDetach();
|
|
|
|
super.onDetach();
|
|
|
|
|
|
|
|
|
|
|
|
InputMethodManager im = getContext().getSystemService(InputMethodManager.class);
|
|
|
|
InputMethodManager im = getContext().getSystemService(InputMethodManager.class);
|
|
|
|
View focussed = getActivity().getCurrentFocus();
|
|
|
|
View focused = getActivity().getCurrentFocus();
|
|
|
|
if (focussed != null)
|
|
|
|
if (focused != null)
|
|
|
|
im.hideSoftInputFromWindow(focussed.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);
|
|
|
|
im.hideSoftInputFromWindow(focused.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void updateSubtitle() {
|
|
|
|
private void updateSubtitle() {
|
|
|
|