Use setOnClickListener() or android:onClick.
On Thu, Jun 9, 2011 at 1:18 PM, c0dege3k c0deg...@gmail.com wrote:
I'm writing a simple tic-tac-toe game, with regular buttons making up
the grid. What I want to happen is for when one button is clicked, for
the turn boolean to switch. There doesn't
I'm writing a simple tic-tac-toe game, with regular buttons making up
the grid. What I want to happen is for when one button is clicked, for
the turn boolean to switch. There doesn't seem to be a detect-click
method built-in, so I was wondering if there was an easy way to solve
this problem.
--
2 matches
Mail list logo