Skip to content

Commit b18145c

Browse files
committed
Fix compilations
1 parent 1d4432d commit b18145c

1 file changed

Lines changed: 1 addition & 30 deletions

File tree

app/src/main/java/omega_r/com/extensions/simple/MainActivity.kt

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -16,36 +16,7 @@ class MainActivity : AppCompatActivity() {
1616
super.onCreate(savedInstanceState)
1717
setContentView(R.layout.activity_main)
1818

19-
CoroutineScope(Dispatchers.Default).apply {
20-
launchDelayed(4900) {
21-
Log.d("MainActivity", "launchDelayed(4900)")
22-
}
23-
launchDelayed(5.seconds) {
24-
Log.d("MainActivity", "launchDelayed(5.seconds)")
25-
}
26-
launchWithTicker(
27-
ticksCount = 10,
28-
tickDurationMillis = 1000,
29-
initialDelayMillis = 5000,
30-
onTick = {
31-
Log.d("MainActivity", "launchWithTicker($it)")
32-
},
33-
onEnd = {
34-
Log.d("MainActivity", "launchWithTicker(end)")
35-
}
36-
)
37-
launchWithTicker(
38-
ticksCount = 10,
39-
tickDuration = 1.seconds,
40-
initialDelay = 15.seconds,
41-
onTick = {
42-
Log.d("MainActivity", "launchWithTicker2($it)")
43-
},
44-
onEnd = {
45-
Log.d("MainActivity", "launchWithTicker2(end)")
46-
}
47-
)
48-
}
19+
4920
}
5021

5122
}

0 commit comments

Comments
 (0)