質問編集履歴

1

タイマークラス全体を補足として追記

2020/02/12 18:55

投稿

kouten
kouten

スコア5

test CHANGED
File without changes
test CHANGED
@@ -32,6 +32,40 @@
32
32
 
33
33
  ```Java
34
34
 
35
+
36
+
37
+ package com.example.mynavigationdrower.Workout;
38
+
39
+
40
+
41
+ import android.os.CountDownTimer;
42
+
43
+ import android.widget.NumberPicker;
44
+
45
+
46
+
47
+ import com.example.mynavigationdrower.R;
48
+
49
+
50
+
51
+ public class MyCountDownTimer extends CountDownTimer {
52
+
53
+
54
+
55
+ public int tmp_minute, tmp_second;
56
+
57
+
58
+
59
+ public MyCountDownTimer(long millisInFuture, long contDownInterval) {
60
+
61
+ super(millisInFuture, contDownInterval);
62
+
63
+
64
+
65
+ }
66
+
67
+
68
+
35
69
  @Override
36
70
 
37
71
  public void onTick(long millisUntilFinished) {
@@ -52,4 +86,6 @@
52
86
 
53
87
  }
54
88
 
89
+ }
90
+
55
91
  ```