Create a global var and increment that with every timer reset
Example
int timerCounts = 0;
@Override
onCreate....
private void starttimer(){
......
.....
onFinish(){
timerCounts++;
your_text_view_to_show_counts.setText(timerCounts+'X');
}
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.