Error in the id attribute of regsitration form while coding
Title
Question
After assigning an id value as nametext box in the xml file ,while coding the following line name=nameTextBox.text.toString() ,an error comes as
"unresolved reference :nameTextBox"
Android-app-using-Kotlin Creating-a-Registration-form 07-08 min 20-30 sec
Answers:
Check the name variable declaration.
To resolve this, keep the cursor on the code and press Alt+Enter keys.
Select the appropriate option to quick fix the errors.
Errors like missing imports, variable assignments, missing reference etc are fixed using this.
Login to add comment