Well, can someone tell me how to set a limit for the number of clicks on a button, and when I reach that limit, will I prevent the button from being clicked again?
Here it is:
public void N1(View v) {
EditText editTextView = (EditText) findViewById(R.id.editTextView);
TextView tvN1 = (TextView) findViewById(R.id.textViewNumero1);
editTextView.append(tvN1.getText().toString());}
This button functions as a key on a keyboard, when clicked it shows the character in editText. I wanted to first push the button before passing the next phase but prevent the button from being clicked more than once ...
Thanks if you can help me