use interface in RxViewModel
This commit is contained in:
parent
e0b83d80b8
commit
24b380fff0
|
|
@ -8,7 +8,7 @@ import androidx.annotation.CallSuper
|
|||
*/
|
||||
open class RxViewModel(
|
||||
private val destroyable: BaseDestroyable = BaseDestroyable(),
|
||||
private val liveDataDispatcher: BaseLiveDataDispatcher = BaseLiveDataDispatcher(destroyable)
|
||||
private val liveDataDispatcher: LiveDataDispatcher = BaseLiveDataDispatcher(destroyable)
|
||||
) : ViewModel(), Destroyable by destroyable, LiveDataDispatcher by liveDataDispatcher {
|
||||
|
||||
@CallSuper
|
||||
|
|
|
|||
Loading…
Reference in New Issue