fun <T, V> ofObject( target: T, property: Property<T, V>?, evaluator: TypeEvaluator<V>?, vararg values: V ): ObjectAnimator? { val anim = ObjectAnimator(target, property) anim.setObjectValues(*values) anim.setEvaluator(evaluator) return anim }
Constructs and returns an ObjectAnimator that animates between Object values . A single value implies that that value is the one being animated to . Two values imply a starting and ending values . More than two values imply a starting value , values to animate through along the way , and an ending value ( these values will be distributed evenly across the duration of the animation ) .