0

I mean when i open a keyboard i can hide it but this is not a method:

@Override
public void onBackPressed() {
    chatFragment.hideEmoticon();
    super.onBackPressed();
}

is there any method like "onhide"?

earthw0rmjim
  • 19,027
  • 9
  • 49
  • 63
cosik
  • 1
  • 1
  • Please reference: `http://stackoverflow.com/questions/4312319/how-to-capture-the-virtual-keyboard-show-hide-event-in-android` – hqt Sep 06 '16 at 12:29
  • You want to receive call back for before the soft keyboard does? – Abbas Sep 06 '16 at 12:30
  • i try to implement https://android-arsenal.com/details/1/3287 but now i see my idea is bad becouse when i call dismiss on EMoijSelecton this thing remove a globalRootVIew.. thanks for reply also – cosik Sep 06 '16 at 12:38
  • do you just want to hide the keyboard when the fragment is opened? – Aman Grover Sep 06 '16 at 13:20

0 Answers0