-
public class ReactAndroidHWInputDeviceHelperResponsible for dispatching events specific for hardware inputs.
-
-
Method Summary
Modifier and Type Method Description voidhandleKeyEvent(KeyEvent ev)Called from ReactRootView. voidonFocusChanged(View newFocusedView)Called from ReactRootView when focused view changes. voidclearFocus()Called from ReactRootView when the whole view hierarchy looses focus. -
-
Method Detail
-
handleKeyEvent
void handleKeyEvent(KeyEvent ev)
Called from ReactRootView. This is the main place the key events are handled.
-
onFocusChanged
void onFocusChanged(View newFocusedView)
Called from ReactRootView when focused view changes.
-
clearFocus
void clearFocus()
Called from ReactRootView when the whole view hierarchy looses focus.
-
-
-
-