IYdlCommonRouter.kt 497 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
package com.ydl.ydlcommon.router

import android.app.Activity
import android.content.Context
/**
 * author : Zhangwenchao
 * e-mail : zhangwch@yidianling.com
 * time   : 2018/03/24
 *
 * 调用上层模块方法的接口
 */
interface IYdlCommonRouter {

    fun startMain(activity: Activity, isSplashActivity: Boolean)

    fun startMain(context: Context, selectTab: Int, trend_tap: String?)

    fun setMoreService(context: Context)

    fun getUserInfo(): YdlUserInfo?

    fun getUid(): Int

}