I want to know how to hide and (after certain action) then show the Android Soft keyboard. This is fairly easy with API Level 24, however I am targeting API level 23.
Following is my code which works for API Level 24:
// to hide
getSoftKeyboardController().setShowMode(SHOW_MODE_HIDDEN);
// to show
getSoftKeyboardController().setShowMode(SHOW_MODE_AUTO);
How do I do same with API Level 23?