質問編集履歴
1
実行方法の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -48,6 +48,30 @@
|
|
48
48
|
|
49
49
|
|
50
50
|
|
51
|
+
実行
|
52
|
+
|
53
|
+
```kotlin
|
54
|
+
|
55
|
+
class Activity : :AppCompatActivity(){
|
56
|
+
|
57
|
+
override fun onCreate(savedInstanceState: Bundle?) {
|
58
|
+
|
59
|
+
super.onCreate(savedInstanceState)
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
WorkManager.getInstance(application)
|
64
|
+
|
65
|
+
.getWorkInfoByIdLiveData(DataCollectWorker.allRequest())
|
66
|
+
|
67
|
+
}
|
68
|
+
|
69
|
+
}
|
70
|
+
|
71
|
+
.getWorkInfoByIdLiveData(DataCollectWorker.allRequest())
|
72
|
+
|
73
|
+
```
|
74
|
+
|
51
75
|
呼び出し用
|
52
76
|
|
53
77
|
```kotlin
|