Commit aabbca59 authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

BigantoBasePresenter

RxRelay added
parent 93891452
......@@ -107,6 +107,8 @@ dependencies {
implementation "com.google.dagger:dagger-android-support:$daggerVersion"
kapt "com.google.dagger:dagger-android-processor:$daggerVersion"
//Rx Relay
implementation "com.jakewharton.rxrelay2:rxrelay:$rxRelayVersion"
......
package com.biganto.visual.roompark.conductor
import com.hannesdorfmann.mosby3.mvi.MviBasePresenter
import com.hannesdorfmann.mosby3.mvp.MvpView
import com.jakewharton.rxrelay2.PublishRelay
/**
* Created by Vladislav Bogdashkin on 30.09.2019.
*/
abstract class BigantoBasePresenter<V : MvpView, VS>
: MviBasePresenter<V, VS>(){
protected val restoreStateObservable =
PublishRelay.create<VS>()
}
\ No newline at end of file
......@@ -22,4 +22,5 @@ ext {
mosbyMviConductorVersion = '3.1.0'
butterKnifeVersion = '10.2.0'
daggerVersion = '2.24'
rxRelayVersion = '2.1.1'
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment