public interface FadeTrackerCallback
Modifier and Type | Method and Description |
---|---|
void |
fadeEnded(FadeKind fadeKind)
Indicates that the fade sequence has ended.
|
void |
fadePerformed(FadeKind fadeKind,
float fadeCycle)
Indicates that a single cycle of fade has been performed.
|
void |
fadeReversed(FadeKind fadeKind,
boolean isFadingIn,
float fadeCycle)
Indicates that the fade sequence has been reversed.
|
void fadePerformed(FadeKind fadeKind, float fadeCycle)
fadeKind
- Fade animation kind.fadeCycle
- The current fade cycle. Is guaranteed to be in 0.0-1.0 range.void fadeEnded(FadeKind fadeKind)
fadeKind
- Fade animation kind.void fadeReversed(FadeKind fadeKind, boolean isFadingIn, float fadeCycle)
fadeKind
- Fade animation kind.isFadingIn
- Indicates the new direction of fade.fadeCycle
- Indicates the new value of fade cycle.