addViewDescription

fun addViewDescription(debugComponent: DebugComponent, sb: StringBuilder, leftOffset: Int, topOffset: Int, embedded: Boolean, withProps: Boolean)


fun addViewDescription(debugComponent: DebugComponent, sb: StringBuilder, leftOffset: Int, topOffset: Int, embedded: Boolean, withProps: Boolean, extraDescription: DebugComponentDescriptionHelper.ExtraDescription?)

Appends a compact description of a DebugComponent for debugging purposes.

Parameters

debugComponent
sb

The StringBuilder to which the description is appended

leftOffset

Offset of the parent component relative to litho view

topOffset

Offset of the parent component relative to litho view

embedded

Whether the call is embedded in "adb dumpsys activity"

extraDescription

An interface for callsite to append extra description.