mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Changing presenterScope to lateinit
This commit is contained in:
parent
43b42f8d54
commit
bd9069b585
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import kotlinx.coroutines.Job
|
||||||
import kotlinx.coroutines.cancel
|
import kotlinx.coroutines.cancel
|
||||||
|
|
||||||
open class BaseCoroutinePresenter {
|
open class BaseCoroutinePresenter {
|
||||||
var presenterScope = CoroutineScope(Job() + Dispatchers.Default)
|
lateinit var presenterScope: CoroutineScope
|
||||||
|
|
||||||
open fun onCreate() {
|
open fun onCreate() {
|
||||||
presenterScope = CoroutineScope(Job() + Dispatchers.Default)
|
presenterScope = CoroutineScope(Job() + Dispatchers.Default)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue