ModifiersBuilders.EnterTransition.Builder


public final class ModifiersBuilders.EnterTransition.Builder


Builder for EnterTransition

Summary

Public constructors

Creates an instance of Builder.

Public methods

@NonNull ModifiersBuilders.EnterTransition

Builds an instance from accumulated values.

@NonNull ModifiersBuilders.EnterTransition.Builder

Sets the fading in animation for content transition of an element and its children happening when entering the layout.

@NonNull ModifiersBuilders.EnterTransition.Builder

Sets the sliding in animation for content transition of an element and its children happening when entering the layout.

Public constructors

Builder

Added in 1.0.0
public Builder()

Creates an instance of Builder.

Public methods

build

Added in 1.0.0
public @NonNull ModifiersBuilders.EnterTransition build()

Builds an instance from accumulated values.

setFadeIn

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
public @NonNull ModifiersBuilders.EnterTransition.Builder setFadeIn(@NonNull ModifiersBuilders.FadeInTransition fadeIn)

Sets the fading in animation for content transition of an element and its children happening when entering the layout.

setSlideIn

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
public @NonNull ModifiersBuilders.EnterTransition.Builder setSlideIn(@NonNull ModifiersBuilders.SlideInTransition slideIn)

Sets the sliding in animation for content transition of an element and its children happening when entering the layout.

Details on the restricted non-SDK APIs in Android 13.

Updated Jan 24, 2025

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Feb 8, 2021

Follow best practices, eliminate boilerplate code, and reduce fragmentation

Updated Jan 15, 2025