onLocationUpdated

Called whenever the location is updated.

Parameters

location
  • supports multiple points to create more complex animations with intermediate points. Last location value will always be the animator target for next animation.

options
  • if specified explicitly will apply current animator option to single location update animation. Otherwise default animator options will be used.

abstract fun onLocationUpdated(vararg location: Array<out Point>, options: ValueAnimator.() -> Unit?)