You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In which task and step of the codelab can this issue be found?
Define a constructor
Describe the problem
The text reads:
The syntax to define a primary constructor starts with the class name followed by the constructor keyword and a set of parentheses.
This is not consistent with the code example just below and is frankly not true. Perhaps it can be written like this but it is not necessary and all the examples show it without the word "constructor".
Here is the code example below which contradicts the text:
URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-classes-and-objects?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-classes-and-objects#5
In which task and step of the codelab can this issue be found?
Describe the problem
The text reads:
This is not consistent with the code example just below and is frankly not true. Perhaps it can be written like this but it is not necessary and all the examples show it without the word "constructor".
Here is the code example below which contradicts the text:
Steps to reproduce?
N/A
Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.
The text was updated successfully, but these errors were encountered: