Advertisement
English transcript
After you've modified the activity main layout file
to add the on click attribute here, and you've copied over the new version of
the main activity code, then click this green Run button.
When the device chooser pops up, this option is correct.
And I'm going to click Use same device for future launches.
And now we have the app running on our device.
To answer the quiz question,
what happens when you click on the order button?
Well it actually updates the quantity value here to be one.
Exciting.
Now lets understand what's going on behind the scenes to produce this change
in the UI.
to add the on click attribute here, and you've copied over the new version of
the main activity code, then click this green Run button.
When the device chooser pops up, this option is correct.
And I'm going to click Use same device for future launches.
And now we have the app running on our device.
To answer the quiz question,
what happens when you click on the order button?
Well it actually updates the quantity value here to be one.
Exciting.
Now lets understand what's going on behind the scenes to produce this change
in the UI.