LayoutModifier.Element
public interface LayoutModifier.Element extends LayoutModifier
A single element contained within a LayoutModifier chain.
Summary
Public methods |
|
|---|---|
default @NonNull R |
<R extends Object> foldRight(Accumulates a value starting with |
Inherited methods |
||
|---|---|---|
|
Public methods
foldRight
default @NonNull R <R extends Object> foldRight(
@NonNull R initial,
@NonNull Function2<@NonNull R, @NonNull LayoutModifier.Element, @NonNull R> operation
)
Accumulates a value starting with initial and applying operation to the current value and each element from left to right.
foldRight may be used to accumulate a value starting from the head of the modifier chain to the final modifier element.