Build: Variable Demo Screen
This screen shows how to declare variables using val and var, and how to handle null safety in Kotlin. It displays variable values and updates them on button clicks.
Target UI
------------------------- | Variable Demo Screen | |-----------------------| | val name: John | | var age: 25 | | nullable city: null | | | | [Change Age] [Set City]| -------------------------
Display a val variable 'name' initialized to "John"
Display a var variable 'age' initialized to 25
Display a nullable String variable 'city' initialized to null
Add a button 'Change Age' that increases age by 1 when clicked
Add a button 'Set City' that sets city to "New York" when clicked
Show updated values on the screen after button clicks
Use Kotlin null safety features to safely display city or show "Unknown" if null