package br.com.liveo.mvp.screen.home.di;

import br.com.liveo.mvp.di.scopes.ActivityScoped;
import br.com.liveo.mvp.screen.home.HomeActivity;
import dagger.Subcomponent;

/**
 * Created by rudsonlima on 9/4/17.
 */
@ActivityScoped
@Subcomponent(modules = {HomeModule.class})
public interface HomeComponent {
    void inject(HomeActivity homeActivity);
}

package br.com.liveo.mvp.screen.home.di;

import br.com.liveo.mvp.di.components.ApplicationComponent;
import br.com.liveo.mvp.di.scopes.ActivityScoped;
import br.com.liveo.mvp.screen.home.HomeActivity;
import dagger.Subcomponent;

/**
 * This class makes Component for {@link ApplicationComponent}
 *
 * @author Rudson Lima
 * @since 10/02/17
 */

@ActivityScoped
@Subcomponent(modules = {HomeModule.class})
public interface HomeComponent {
    void inject(HomeActivity homeActivity);
}

Add link