October 2018
Intermediate to advanced
464 pages
15h 17m
English
It's worth taking some time to experiment with the RotationAnimation settings and the sensor update timing. In our call to register the sensor listener, we use SensorManager.SENSOR_DELAY_FASTEST along with 50 milliseconds for setDuration() to create a fast animation. You could also try using a slower sensor update and a slower animation, and compare the results.