6
sto ottenendo questi errori quando si cerca di nascondere la tastiera all'interno di un frammento all'interno di un'attività:Nascondere tastiera all'interno di Fragment
Error: Cannot resolve getSystemService
Cannot resolve Context
Cannot resolve getCurrentFocus()
InputMethodManager inputManager = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
inputManager.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(),
InputMethodManager.HIDE_NOT_ALWAYS);
Ancora Errore: Impossibile risolvere Contesto –
Risolto Funziona Grande Fira –
ottimo, contrassegnarlo come risposta corretta;) –