public final class Diff<T>
extends java.lang.Object
T values. It should be used when defining the ShouldUpdate callback in a ComponentSpec and may be used in OnCreateTransition to define
animations based on incoming changes. A Diff holds the previous and next value for a specific
Prop or State for a ComponentSpec.| Modifier and Type | Method and Description |
|---|---|
T |
getNext() |
T |
getPrevious() |
void |
setNext(T next) |
java.lang.String |
toString() |