IHomeContract.kt 565 Bytes
Newer Older
徐健 committed
1 2
package com.yidianling.home.constract

3 4 5
import com.yidianling.home.constants.IHomeBaseContract
import com.yidianling.home.model.bean.MuseModuleBean
import io.reactivex.Observable
徐健 committed
6 7

class IHomeContract {
8
    interface View : IHomeBaseContract.View {
徐健 committed
9 10 11 12
        fun startAnim()

        fun endAnim()

13 14
        fun getSearchContent(): String
    }
徐健 committed
15

16
    interface Presenter : IHomeBaseContract.Presenter<View>
徐健 committed
17

18 19 20 21 22
    interface Model : IHomeBaseContract.Model {
        /**
         * 首页冥想请求
         */
        fun museRequest(): Observable<MuseModuleBean>
徐健 committed
23 24
    }
}