saving . . . saved Not able to change text by giving ID has been deleted. Not able to change text by giving ID has been hidden .
Not able to change text by giving ID
Title
Question
I have given ID to text box as myFirstText and when i try to type this ID in my MainActivity.xml it shows error as shown in image attached below.<img align="none" alt="" src="https://drive.google.com/file/d/1T_STp5w_-6wDfj6gzViSAEo7Kq_qpfv4/view?usp=sharing"><img align="none" alt="Error in ID" src="https://drive.google.com/file/d/1T_STp5w_-6wDfj6gzViSAEo7Kq_qpfv4/view?usp=sharing">

Android-app-using-Kotlin Getting-started-with-Hello-World-app 11-12 min 0-10 sec 18-02-22, 7:07 p.m. pranavgupta72

Answers:

Watch the tutorial at 11:50. It is myFirstTextView.text. Not myFirstText.text.

04-04-22, 12:33 p.m. NirmalaVenkat


Log-in to answer to this question.