I want to set "First" word to TextView (textTT) and wait for a while set to "Second" to same TextView but result is directly set "second" to TextView but I need firstly set "First". How can I overcome this? <>
private void applicationTest() {
textTT.setText("First");
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
textTT.setText("Second");
}