January 2014
Intermediate to advanced
736 pages
70h 43m
English
Lines 98–120 of Fig. 3.15 create the anonymous-inner-class object named customSeekBarListener that responds to customTipSeekBar’s events. If you’re not familiar with anonymous inner classes, visit the following page:
Line 67 (Fig. 3.12) registered customSeekBarListener as customTipSeekBar’s OnSeekBarChangeListener event handler. For clarity, we define all but the simplest event-handling objects in this manner so that we do not clutter the onCreate method with this code.
Read now
Unlock full access