ViewUtil

object ViewUtil

Properties

Link copied to clipboard
const val NO_SURFACE_ID: Int

Functions

Link copied to clipboard

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

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

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

Version of getUIManagerType that uses both surfaceId and viewTag heuristics

Link copied to clipboard