Class

DelegatingNode

A Modifier.Node which is able to delegate work to other Modifier.Node instances.

Source set: Common
public abstract class DelegatingNode : Modifier.Node()

A Modifier.Node which is able to delegate work to other Modifier.Node instances.

This can be useful to compose multiple node implementations into one.

Functions

updateCoordinator

Source set: Common
override fun updateCoordinator(coordinator: NodeCoordinator?)

This is the kindSet of the node if it had no delegates. This will never change, but kindSet might, so we cache this value to be able to more efficiently recalculate the kindSet

setAsDelegateTo

Source set: Common
override fun setAsDelegateTo(owner: Modifier.Node)

markAsAttached

Source set: Common
override fun markAsAttached()

runAttachLifecycle

Source set: Common
override fun runAttachLifecycle()

runDetachLifecycle

Source set: Common
override fun runDetachLifecycle()

markAsDetached

Source set: Common
override fun markAsDetached()

reset

Source set: Common
override fun reset()
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: