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 3.2][A different parameter name in the code] #16

Open AbuBentAbuha opened 4 years ago

AbuBentAbuha commented 4 years ago

Describe the problem A different parameter name in the code.

In which lesson and step of the codelab can this issue be found? Lesson 07.1, Step 3.2.

How to reproduce? Follow the instructions of the codelab of this step and the step before it.

Versions 1.Android Studio 4.0

  1. API level 26

Additional information In Step 3.1 the function doInBackground(Location... locations) uses locations as parameter, while in Step 3.2 uses params instead of locations. Location location = params[0];

codelab: advanced-android