我试图在活动中的片段内隐藏键盘时遇到这些错误:
@H_301_10@InputMethodManager inputManager = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); inputManager.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(),InputMethodManager.HIDE_NOT_ALWAYS);@H_403_11@Error: Cannot resolve getSystemService
Cannot resolve Context
Cannot resolve getCurrentFocus()