Package org.robolectric.shadows
Interface ShadowInputMethodManager.SoftInputVisibilityChangeHandler
- Enclosing class:
- ShadowInputMethodManager
public static interface ShadowInputMethodManager.SoftInputVisibilityChangeHandler
Handler for receiving soft input visibility changed event.
Since Android does not have any API for retrieving soft input status, most application
relies on GUI layout changes to detect the soft input change event. Currently, Robolectric are
not able to simulate the GUI change when application changes the soft input through
InputMethodManager
, this handler can be used by application to simulate GUI change in response
of the soft input change.
-
Method Summary
Modifier and Type Method Description void
handleSoftInputVisibilityChange(boolean softInputVisible)
-
Method Details
-
handleSoftInputVisibilityChange
void handleSoftInputVisibilityChange(boolean softInputVisible)
-