0

Which type of model is used by android to handle events. Is it delegation model or event model?

Sunil
  • 856
  • 12
  • 24

3 Answers3

0

The android system uses the event model. The delegate/ion model is used in code for iOS only.

  • Ok, if it uses event model then why do we use onClickListeners for buttons which doesn't return either true or false for the event to be dispatched to the parent (say a view on which button is added)? – Sunil Jan 08 '13 at 09:53
0

Android uses Event based dispatching.For more, please refer this

onkar
  • 4,427
  • 10
  • 52
  • 89
0

Android uses the Event Model to handle the events.

GrIsHu
  • 29,068
  • 10
  • 64
  • 102