rotateAnimation
Animates the view to rotate, can be refactored for more abstraction if needed
Parameters
rotation
Value of rotation to be applied to view
duration
Duration in millis of the rotation animation
Animates the view to rotate, can be refactored for more abstraction if needed
Value of rotation to be applied to view
Duration in millis of the rotation animation