findSubviewIn

open fun findSubviewIn(reactTag: Int, point: ReadableArray, callback: Callback)

Find the touch target child native view in the supplied root view hierarchy, given a react target location.

This method is currently used only by Element Inspector DevTool.

Parameters

reactTag

the tag of the root view to traverse

point

an array containing both X and Y target location

callback

will be called if with the identified child view react ID, and measurement info. If no view was found, callback will be invoked with no data.