How can I repeat this countdown timer in a specific way…?

╄→尐↘猪︶ㄣ 提交于 2019-11-29 17:32:21

RESOLVED

I put the following after the score[0]++:

number.setVisibility(View.VISIBLE);
final int loadG1 = generateG1.nextInt(1000000) + 10000;
number.setText(" " + loadG1);
input.getText().clear();

start();

This way, all necessary changes are made and the timer begins anew. I also modified the visibility of the prompt TextView to ensure it only appear when the user is able to input an answer. Took me a while but this has been resolved.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!