package com.joker.fourfun.di.component;

import com.joker.fourfun.di.PerFragment;
import com.joker.fourfun.di.module.FragmentModule;
import com.joker.fourfun.ui.fragment.LoginFragment;
import com.joker.fourfun.ui.fragment.MediaFragment;
import com.joker.fourfun.ui.fragment.MineFragment;
import com.joker.fourfun.ui.fragment.PictureChildFragment;
import com.joker.fourfun.ui.fragment.PictureFragment;
import com.joker.fourfun.ui.fragment.ReadFragment;
import com.joker.fourfun.ui.fragment.RegisterFragment;

import dagger.Component;
import me.yokeyword.fragmentation.SupportFragment;

/**
 * Created by joker on 2016/12/1.
 */
@PerFragment
@Component(dependencies = AppComponent.class, modules = FragmentModule.class)
public interface FragmentComponent {
    SupportFragment fragment();

    void inject(ReadFragment fragment);

    void inject(PictureFragment fragment);

    void inject(PictureChildFragment fragment);

    void inject(MediaFragment fragment);

    void inject(MineFragment fragment);

    void inject(LoginFragment fragment);

    void inject(RegisterFragment fragment);
}

@@ -130,60 +130,8 @@
 le;%0A
-import com.joker.fourfun.ui.fragment.LoginFragment;%0A
 impo
@@ -396,63 +396,8 @@
 ent;
-%0Aimport com.joker.fourfun.ui.fragment.RegisterFragment;
 %0A%0Aim
@@ -893,94 +893,7 @@
 nt);
-%0A%0A    void inject(LoginFragment fragment);%0A%0A    void inject(RegisterFragment fragment);
 %0A%7D%0A

delete fragment