UIManagerModuleConstantsHelper

Helps generate constants map for UIManagerModule by collecting and merging constants from registered view managers.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun createConstants(viewManagers: List<ViewManager>, @Nullable allBubblingEventTypes: Map<String, Any>, @Nullable allDirectEventTypes: Map<String, Any>): Map<String, Any>
Generates map of constants that is then exposed by UIManagerModule.
Link copied to clipboard
open fun createConstantsForViewManager(viewManager: ViewManager, @Nullable defaultBubblingEvents: Map, @Nullable defaultDirectEvents: Map, @Nullable cumulativeBubblingEventTypes: Map, @Nullable cumulativeDirectEventTypes: Map): Map<String, Any>