Android

Android Event Handling

Android Event Handling

Events are some sort of activities that a user performs to interact with the application. A simple event can be clicking a button or touching the screen. 
Android Event Management consists of the following concepts:

  • Event handlers: These are responsible for handling events and performing specific actions based on their events. 
  • Event listeners: An event listener works as an interface in the View class. These methods are called by the Android framework when the View, with which an event listener is linked, is called by the user. 
  • Event listeners registration: It is a process in which an Event handler is registered with an Event listener. This way the event handler is called when the Event listener is triggered. 
     

Top course recommendations for you

    Python IDLE
    1 hrs
    Beginner
    3.9K+ Learners
    4.46  (410)
    Java Applications
    1 hrs
    Beginner
    8.6K+ Learners
    4.44  (369)
    Python List
    1 hrs
    Beginner
    6.2K+ Learners
    4.2  (635)
    Python Classes
    1 hrs
    Beginner
    11.4K+ Learners
    4.39  (804)
    OOPs in Python
    1 hrs
    Beginner
    16.5K+ Learners
    4.32  (1333)