package com.wdkl.ncs.android.component.home.di

import com.wdkl.ncs.android.component.home.activity.HomeActivity
import com.wdkl.ncs.android.component.home.fragment.CategoryFragment
import com.wdkl.ncs.android.component.home.fragment.HomeFragment
import com.wdkl.ncs.android.middleware.di.ApplicationComponent
import dagger.Component

/**
 * @author LDD
 * @Date   2018/1/22 下午2:43
 * @From   com.wdkl.ncs.android.component.home.di
 * @Note   依赖注入入口
 */
@Component(dependencies = arrayOf(ApplicationComponent::class))
interface HomeComponent {

    fun inject(activity: HomeActivity)

    fun inject(activity: HomeFragment)

    fun inject(activity: CategoryFragment)
}