google-developer-training / basic-android-kotlin-compose-training-tip-calculator

Apache License 2.0
61 stars 93 forks source link

Intro to state in Compose: Android Basics with Compose #198

Open Lunarclipper opened 5 months ago

Lunarclipper commented 5 months ago

URL of codelab

https://developer.android.com/codelabs/basic-android-kotlin-compose-using-state?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-using-state#2 In which task and step of the codelab can this issue be found?

Describe the problem

I have been away from learning for a bit, and haven't downloaded any starter code for use in a codelab. This lab gives two methods to get the starter code, download the zip or clone the starter branch in the GitHub repo.

Fine and good, I was able to do both ways.

The problem is that this codelab then jumps right into looking at the code without any instructions on how to do that. Should I open Android Studio, navigate to that extremely long folder name created by the git clone, and open the project from there if I go the cloning route? If I go the Zip file route, should I unzip the file to AndroidStudioProjects, then access it from there? I assume I should not create a new project and copy the MainActivity.kt in the zip file over the code in MainActivity.kt in the new project.

What I am saying is, it would be helpful to have a hyperlink after each option that will take us to a page to refresh our memories on how to use this starter code if we have forgotten. (Also, I don't recall any of the earlier units providing starter code in this manner. If there is an earlier codelab that does this, and provides instructions on how to use the downloaded or cloned code in Android Studio, can you point me to it?)

Steps to reproduce?

  1. Go to...
  2. Click on...
  3. See error...

Versions Android Studio version: API version of the emulator:

Additional information Include screenshots if they would be useful in clarifying the problem.