TimeTransition
data class TimeTransition(startFraction: Double, endFraction: Double, startTimeMs: Long, endTimeMs: Long)
Content copied to clipboard
Contains the time transition information from a start to an end point. This class helps to use the ValueAnimator for animations, see property animation system for more details.
Constructors
Link copied to clipboard
fun TimeTransition(startFraction: Double = 0.0, endFraction: Double = 0.0, startTimeMs: Long = 0, endTimeMs: Long = 0)
Content copied to clipboard
Properties
Link copied to clipboard
The progress of the animation at endTimeMs. Answers the question 'At which fraction should the animation end?'.
Link copied to clipboard
The progress of the animation at startTimeMs. Answers the question 'How far along should the animation start?'.