I´ve got a quiz app where the user can answer some questions with radio buttons. Only one answer is correct.
When I click on my button to show the right answer, it is shown in a textView.
Until now I have another button to navigate to the next question.
b.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
...
}
Now I want to change that. When the user press the button for showing the right question, I want the app 5 seconds to sleep and then navigate to the next question. How can I handle that?