[Solved] Counting by referencing a label text and adding to self not working

sure. I suppose that must be useful for your purposes. I am just offering a solution that will not crash your phone. Glad that works for you there!

1 Like

image
counter in appinventor

int a=0;
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
textView.setText(""+ a++);
}
});

counter in android studio