I'm not too experienced with java programming in Android Studio yet, but I couldn't find a solution for this problem:
I want to be able to get 2 integers and convert them into text to put them into a line of text. So for example:
int counterT = 0;
TextView showValueT;
public void CountIncT (View view) {
showValueT = (TextView) findViewById(R.id.countT);
counterT++;
showValueT.setText(Integer.toString(counterT));
Together with the other counter, say CountIncU / showValueU / countU / counterU
, I want to get a textline that gets the 2 scores and put them together to a textline like:
(counterT + " - " + counterU)
or 5 - 3 for example, after pressing a button.
I think that I'm just missing a single piece, but I couldn't find it anywhere so I hope that you can help me out here, thanks!