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 MainActivity.java, in method submitOrder you'll find:
// Figure out if the user wants whipped cream topping
CheckBox whippedCreamCheckBox = (CheckBox) findViewById(R.id.whipped_cream_checkbox);
boolean hasWhippedCream = whippedCreamCheckBox.isChecked();
// Figure out if the user wants choclate topping
CheckBox chocolateCheckBox = (CheckBox) findViewById(R.id.chocolate_checkbox);
boolean hasChocolate = chocolateCheckBox.isChecked();
I am trying to find which method to call for the onClick attribute for the Whipped cream CheckBox but I cannot find it in the repository.
Could you please identify the xml and/or the correct method to call?
Many thanks.
The text was updated successfully, but these errors were encountered: