Phan Thị Thùy Dương
Member
When a button is clicked which listener you can use?
Answer
The Android system calls the method when the user triggers the View to which the listener is registered. To respond to a user tapping or clicking a button, use the event listener called OnClickListener , which contains one method, onClick() .
Answer
The Android system calls the method when the user triggers the View to which the listener is registered. To respond to a user tapping or clicking a button, use the event listener called OnClickListener , which contains one method, onClick() .