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

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

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

        fun endAnim()

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

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

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

刘鹏 committed
25
        fun getMeditation(): Observable<MeditationModuleBean>
徐健 committed
26 27
    }
}