on-internet
← Community

Android Studio - Input Method Manager

Stack Overflow ·

Android studio version :2.3.3 The code below is not working and it should hide the keyboard but its not.Please help. InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); public void setImm(InputMethodManager imm) { this.imm = imm; } public InputMethodManager getImm() { imm.hideSoftInputFromWindow(urledit.getWindowToken(),0); return imm; }

Comments

Sign in or sign up to comment and upvote.

No comments yet.