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: [Lesson 07.1][Step 5][wrong variable reference] #32

Open urieluvd opened 3 years ago

urieluvd commented 3 years ago

There is a reference to an argument wrongly named.

Lesson number 7.1 step number 5, Task 3.2

The argument is defined as locations in Task 3.1

       @Override
       protected String doInBackground(Location... locations) {
           return null;
       }

But is referenced as params in Task 3.2

      Location location = params[0];

codelab: advanced-android 07.1: Device location