-
public interface ReactCompoundView
This interface should be implemented be native View subclasses that can represent more than a single react node (e.g. TextView). It is use by touch event emitter for determining the react tag of the inner-view element that was touched.
-
-
Method Summary
Modifier and Type Method Description abstract int
reactTagForTouch(float touchX, float touchY)
Return react tag for touched element. -
-
Method Detail
-
reactTagForTouch
abstract int reactTagForTouch(float touchX, float touchY)
Return react tag for touched element. Event coordinates are relative to the view
- Parameters:
touchX
- the X touch coordinate relative to the viewtouchY
- the Y touch coordinate relative to the view
-
-
-
-