1. Are you ready for the Galaxy S20? Here is everything we know so far!

Click listener to a button

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

  1. acidcromaticle

    Thread Starter

    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 !
     


Loading...
Similar Threads - Click listener button
  1. nitrochilled1
    Replies:
    2
    Views:
    170
  2. 3d1l
    Replies:
    0
    Views:
    125
  3. Unsmilingman
    Replies:
    1
    Views:
    345
  4. The_Chief
    Replies:
    2
    Views:
    333
  5. RioLeal
    Replies:
    0
    Views:
    353
  6. Grumpy Cat
    Replies:
    0
    Views:
    267
  7. xander119
    Replies:
    0
    Views:
    343
  8. newcoder
    Replies:
    1
    Views:
    448
  9. androidgeek2019
    Replies:
    2
    Views:
    1,079
  10. ElWadster
    Replies:
    7
    Views:
    605

Share This Page

Loading...