RemeasurementModifier


A Modifier.Element that provides a Remeasurement object associated with the layout node the modifier is applied to.

Summary

Public functions

Unit

This method is executed when the modifier is attached to the layout node.

Cmn

Inherited functions

From androidx.compose.ui.Modifier
open infix Modifier
then(other: Modifier)

Concatenates this modifier with another.

Cmn
From androidx.compose.ui.Modifier.Element
open Boolean
all(predicate: (Modifier.Element) -> Boolean)

Returns true if predicate returns true for all Elements in this Modifier or if this Modifier contains no Elements.

Cmn
open Boolean
any(predicate: (Modifier.Element) -> Boolean)

Returns true if predicate returns true for any Element in this Modifier.

Cmn
open R
<R : Any?> foldIn(initial: R, operation: (Modifier.Element, R) -> R)

Accumulates a value starting with initial and applying operation to the current value and each element from outside in.

Cmn
open R
<R : Any?> foldOut(initial: R, operation: (Modifier.Element, R) -> R)

Accumulates a value starting with initial and applying operation to the current value and each element from inside out.

Cmn

Public functions

onRemeasurementAvailable

fun onRemeasurementAvailable(remeasurement: Remeasurement): Unit

This method is executed when the modifier is attached to the layout node.

Parameters
remeasurement: Remeasurement

Remeasurement object associated with the layout node the modifier is applied to.