-
public class ReactAndroidHWInputDeviceHelper
Responsible for dispatching events specific for hardware inputs.
-
-
Method Summary
Modifier and Type Method Description void
handleKeyEvent(KeyEvent ev)
Called from ReactRootView. void
onFocusChanged(View newFocusedView)
Called from ReactRootView when focused view changes. void
clearFocus()
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.
-
-
-
-