Interface

CompositionLocalConsumerSubspaceModifierNode

Implementing this interface allows your SubspaceModifier.Node subclass to read CompositionLocals via the currentValueOf function.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public interface CompositionLocalConsumerSubspaceModifierNode : DelegatableSubspaceNode

Implementing this interface allows your SubspaceModifier.Node subclass to read CompositionLocals via the currentValueOf function. The values of each CompositionLocal will be resolved based on the context of the layout node that the modifier is attached to, meaning that the modifier will see the same values of each CompositionLocal as its corresponding layout node.