A
A
Agrael313 Zashefrovano2021-12-16 21:02:29
android studio
Agrael313 Zashefrovano, 2021-12-16 21:02:29

How to prevent text from changing when a button is clicked?

I have a TextView that changes the text when a button is clicked.
I need the text to not change when the button is pressed for the second or third time, etc., only once when pressed
. Can you please tell me what can be done?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question