<Add var from .kt in activity main> i had a QR Sca...
# stackoverflow
u
Add var from .kt in activity main i had a QR Scanner from the internet. But my Kotin skills are not available... How can I add a COUNTER, that count my times, I scaned a code?

code of counter

Now I want to see that counter in the activity main. But how can I put a Text to that?

enter image description here