RenderInfoDebugInfoRegistry

Holds a mapping of Views inside a Litho hierarchy to related debugging information. This is needed as a way of passing data to Views inside a Section hierarchy without relying on the specific type of view that is used. For example, while a ComponentRenderInfo will be rendered inside a LithoView always, a ViewRenderInfo could be using any type of View. This is to avoid passing debugging data through structures that could be used by developers, such as the view tag.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val SONAR_SECTIONS_DEBUG_INFO_TAG: String = "SONAR_SECTIONS_DEBUG_INFO"

Functions

Link copied to clipboard
open fun setRenderInfoToViewMapping(view: View, renderInfoSectionDebugInfo: Any)