• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Click listener to a button

Hello, i want to know if there is a short way to do a event listener other than the folowing: I want to make a sudoku game and the boxez that are for the numbers are buttons in my aplication. I have aproximatively 90 buttons, and i made for all butons onclick events (aprox. 90 events).
I want to know if there is a way to do a general action listener and to get from that listener the buton that has been clicked, so that i dont need to keep the 90 click events.

Thank you very much for the help !
 
Back
Top Bottom