ModifiersBuilders.AnimatedVisibility


@RequiresSchemaVersion(major = 1, minor = 200)
@ProtoLayoutExperimental
public final class ModifiersBuilders.AnimatedVisibility


The content transition of an element. Any update to the element or its children will trigger this animation for this element and everything underneath it.

Summary

Nested types

Builder for AnimatedVisibility

Public methods

@Nullable ModifiersBuilders.EnterTransition

Gets the content transition that is triggered when element enters the layout.

@Nullable ModifiersBuilders.ExitTransition

Gets the content transition that is triggered when element exits the layout.

@NonNull String

Public methods

getEnterTransition

Added in 1.0.0
public @Nullable ModifiersBuilders.EnterTransition getEnterTransition()

Gets the content transition that is triggered when element enters the layout.

getExitTransition

Added in 1.0.0
public @Nullable ModifiersBuilders.ExitTransition getExitTransition()

Gets the content transition that is triggered when element exits the layout. Note that indefinite exit animations are ignored.

toString

public @NonNull String toString()