Displaying Initial Values in the TextViews

Lines 54–55 set amountDisplayTextView’s text to the initial billAmount (0.00) in a locale-specific currency format by calling the currencyFormat object’s format method. Next, lines 56–57 call methods updateStandard (Fig. 3.13) and updateCustom (Fig. 3.14) to display initial values in the tip and total TextViews.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset