onLocationUpdated

abstract fun onLocationUpdated(vararg location: Point, options: ValueAnimator.() -> Unit? = null)

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.