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.
Modifier and Type | Method and Description |
---|---|
void |
handleSoftInputVisibilityChange(boolean softInputVisible) |