findSubviewIn

open fun findSubviewIn(reactTag: Int, targetX: Float, targetY: Float, 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

targetX

target X location

targetY

target Y 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.