DurationBasedAnimationBuilder

abstract class DurationBasedAnimationBuilder<T> : AnimationBuilder<T>
kotlin.Any
   ↳ androidx.animation.AnimationBuilder<T>
   ↳ androidx.animation.DurationBasedAnimationBuilder

Base class for an AnimationBuilder to create animations based on a fixed duration.

Summary

Public constructors

Base class for an AnimationBuilder to create animations based on a fixed duration.

Properties

Int

The amount of time that the animation should be delayed.

Int

Duration of the animation in milliseconds.

Public constructors

<init>

DurationBasedAnimationBuilder()

Base class for an AnimationBuilder to create animations based on a fixed duration.

Properties

delay

var delay: Int

The amount of time that the animation should be delayed.

duration

var duration: Int

Duration of the animation in milliseconds. Defaults to DefaultDuration