I'm creating a keyboard to add value to a TextView. I was able to add a value only to TextView. But what I wanted to do was to keep the current value and add another one to the side so that the user would make a number to add to TextView.
In the Onclick event I did this:
switch (view.getId()) {
case R.id.buttonNum1:
txtNum.setText("1");
break;
case R.id.buttonNum2:
txtNum.setText("2");
break;
I would like to know how I can keep the current value and add a new value next.