LithoViewComponentsTraverser

Allows traversing through all the Component that define a hierarchy in a given LithoView.

It is a generic purpose traversion, which allow whoever calls traverse to perform an operation at any component that is traversed (and its parent).

Constructors

Functions

Link copied to clipboard
fun traverse(lithoView: LithoView, onComponentFound: (component: Component, parent: Component?) -> Unit)