Creating Custom Fields and Managers is Easier than You Think!

Page 26

Button 5) Input Handling • Down / Click Event – When the user touches the button, activate Pressed state

• Up / Unclick Event – When the user lets go, deactivate Pressed state, click the button, and fire the listener events – Need to be a little bit careful not to fire the listener events multiple times – some devices send both Up AND Unclick events


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.