findTargetPathAndCoordinatesForTouch

Find touch event target view within the provided container given the coordinates provided via MotionEvent.

Return

If a target was found, returns a < containing the path through the view tree of all react tags and views that are a container for the touch target, ordered from target to root (last element)

Parameters

eventX

the X screen coordinate of the touch location

eventY

the Y screen coordinate of the touch location

viewGroup

the container view to traverse

viewCoords

an out parameter that will return the X,Y value in the target view