public class ReactAndroidHWInputDeviceHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
clearFocus()
Called from
ReactRootView when the whole view hierarchy looses focus. |
void |
handleKeyEvent(android.view.KeyEvent ev)
Called from
ReactRootView . |
void |
onFocusChanged(android.view.View newFocusedView)
Called from
ReactRootView when focused view changes. |
public void handleKeyEvent(android.view.KeyEvent ev)
ReactRootView
.
This is the main place the key events are handled.public void onFocusChanged(android.view.View newFocusedView)
ReactRootView
when focused view changes.public void clearFocus()
ReactRootView
when the whole view hierarchy looses focus.