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.PictureChildFragment;
import com.joker.fourfun.ui.fragment.PictureFragment;

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(PictureFragment fragment);

    void inject(PictureChildFragment fragment);
}

@@ -234,24 +234,75 @@
 ureFragment;
+%0Aimport com.joker.fourfun.ui.fragment.ReadFragment;
 %0A%0Aimport dag
@@ -567,24 +567,65 @@
 ragment();%0A%0A
+    void inject(ReadFragment fragment);%0A%0A
     void inj

add ReadFragment dependence