getUIManagerType

Counter for uniquely identifying views. - % 2 === 0 means it is a Fabric tag. See https://github.com/facebook/react/pull/12587

Parameters

viewTag

tag of the view this is event is dispatched to


Overload for getUIManagerType that uses the view's id to determine if it originated from Fabric


fun getUIManagerType(viewTag: Int, surfaceId: Int): Int

Version of getUIManagerType that uses both surfaceId and viewTag heuristics

Parameters

viewTag

tag of the view this is event is dispatched to

surfaceId

ID of the corresponding surface