Refactor mvp views
parent
4c2b3a8093
commit
22a6d06e1f
@ -0,0 +1,14 @@
|
||||
package org.koitharu.kotatsu.ui.common
|
||||
|
||||
import moxy.MvpView
|
||||
import moxy.viewstate.strategy.alias.AddToEndSingle
|
||||
import moxy.viewstate.strategy.alias.OneExecution
|
||||
|
||||
interface BaseMvpView : MvpView {
|
||||
|
||||
@OneExecution
|
||||
fun onError(e: Throwable)
|
||||
|
||||
@AddToEndSingle
|
||||
fun onLoadingStateChanged(isLoading: Boolean)
|
||||
}
|
||||
Loading…
Reference in New Issue