Skip to content

Commit 925539e

Browse files
committed
removed comment
1 parent fdc2e4d commit 925539e

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed
Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package com.rootstrap.android.ui.base
22

3-
import androidx.lifecycle.*
3+
import androidx.lifecycle.LiveData
4+
import androidx.lifecycle.MutableLiveData
5+
import androidx.lifecycle.ViewModel
46
import com.rootstrap.android.util.NetworkState
57

68
/**
@@ -13,10 +15,4 @@ open class BaseViewModel : ViewModel() {
1315
protected val _networkState = MutableLiveData<NetworkState>()
1416
val networkState: LiveData<NetworkState>
1517
get() = _networkState
16-
17-
/* @OnLifecycleEvent(Lifecycle.Event.ON_RESUME)
18-
fun register() = Bus().register(this)
19-
20-
@OnLifecycleEvent(Lifecycle.Event.ON_PAUSE)
21-
fun unregister() = Bus().unregister(this) */
2218
}

0 commit comments

Comments
 (0)