Package-level declarations

Types

Link copied to clipboard

The DebugInfoReporter is used to report debug information using the DebugEventDispatcher. These events are recorded as LITHO_DEBUG_INFO QPL events. It is recommended to gate debug logging to reduce the overhead of logging and control the sampling rate.

Link copied to clipboard
class DebugOverlay(isMainThreadLayouts: List<Boolean>) : Drawable

Draws a row of rectangles starting from the top left corner; the number of rectangles represents the number resolves. If the rectangle is red is color then that resolved results was calculated on the main thread. If the overlay is red in color then the most recent layout was on the main thread. The debug overlay tracks layout history, but doesn't show it on the overlay.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun getAttribution(attribution: String?): String?
Link copied to clipboard

Uses a stack trace to find the closest stack element inside a KComponent.render method.