1. Check out our companion app, Forums for Android! Download from Google Play

Click listener to a button

Discussion in 'Android Lounge' started by acidcromaticle, Aug 10, 2010.

  1. acidcromaticle

    acidcromaticle New Member
    Thread Starter

    Aug 10, 2010
    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 !


Share This Page