google-developer-training / android-advanced

Solution apps for the apps that students create as they work through the Advanced Android Development training course created by Google Developer Training.
Other
1.14k stars 1.09k forks source link

Advanced Android: Advanced Android 03.1: Getting sensor data / taks 2/ 2.3 Listen for new sensor data #35

Closed Productivix closed 3 years ago

Productivix commented 3 years ago

Describe the problem A clear and concise description of what the problem is. The version has changed and the code does not at all run and puts the rest of the code in bad situation !

it is impossible to do the step :

At the top of the class, modify the class signature to implement the SensorEventListener interface.

public class MainActivity extends AppCompatActivity implements SensorEventListener {