It is necessary that the text be automatically displayed in the TextView , and after a pause it has changed. I have so:
... tv.setText("1"); SystemClock.sleep(2000); tv.setText("2"); ... But the result is only this: Pause and deduce tv.setText("2"); , but tv.setText("1"); - not at all. I changed the types of pauses, the types of actions before and after it, the types of methods (by click, by redirection ...), but alas, he seemed to ignore the first action. This is probably only related to widgets.