January 2014
Intermediate to advanced
736 pages
70h 43m
English
Method updateStandard (Fig. 3.13) updates the 15% tip and total TextViews each time the user changes the bill amount. The method uses the billAmount value to calculate the tip amount and the total of the bill amount and tip. Lines 78–79 display the amounts in currency format.
Read now
Unlock full access