Package eltos.simpledialogfragment.form
Class SimpleFormDialog.FocusActions
java.lang.Object
eltos.simpledialogfragment.form.SimpleFormDialog.FocusActions
- Direct Known Subclasses:
SimpleFormDialog.DialogActions
- Enclosing class:
- SimpleFormDialog
A Callback Class with useful methods used by
FormElementViewHolder.focus(eltos.simpledialogfragment.form.SimpleFormDialog.FocusActions)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Helper to clear the current focusvoid
Helper to hide the soft keyboardvoid
showKeyboard
(android.view.View view) Helper for opening the soft keyboard on a specified view
-
Constructor Details
-
FocusActions
public FocusActions()
-
-
Method Details
-
hideKeyboard
public void hideKeyboard()Helper to hide the soft keyboard -
showKeyboard
public void showKeyboard(android.view.View view) Helper for opening the soft keyboard on a specified view- Parameters:
view
- the view to be focused and receive keyboard input
-
clearCurrentFocus
public void clearCurrentFocus()Helper to clear the current focus
-