ModifiersBuilders.FadeInTransition


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


The fading animation for content transition of an element and its children, from the specified starting alpha to fully visible.

Summary

Nested types

Builder for FadeInTransition

Public methods

@Nullable AnimationParameterBuilders.AnimationSpec

Gets the animation parameters for duration, delay, etc.

@FloatRange(from = 0.0, to = 1.0) float

Gets the starting alpha of the fade in transition.

@NonNull String

Public methods

getAnimationSpec

Added in 1.0.0
public @Nullable AnimationParameterBuilders.AnimationSpec getAnimationSpec()

Gets the animation parameters for duration, delay, etc.

getInitialAlpha

Added in 1.0.0
public @FloatRange(from = 0.0, to = 1.0) float getInitialAlpha()

Gets the starting alpha of the fade in transition. It should be between 0 and 1. If not set, defaults to fully transparent, i.e. 0.

toString

public @NonNull String toString()