experimental_prefetchResource

open fun experimental_prefetchResource(reactContext: ReactContext, surfaceId: Int, reactTag: Int, params: MapBuffer)

THIS PREFETCH METHOD IS EXPERIMENTAL, DO NOT USE IT FOR PRODUCTION CODE, MOST LIKELY IT WILL CHANGE OR BE REMOVED IN THE FUTURE.

Subclasses can override this method to implement custom resource prefetching for the ViewManager.

Parameters

reactContext
surfaceId

surface ID

reactTag

reactTag that should be set as ID of the view instance

params

MapBuffer prefetch request params defined in C++