rotate

open fun rotate(@NonNull view: View, rotation: Float)

Animate a view rotation property to a value.

Parameters

view

the view to be rotated

rotation

the value to animate to