package com.gingersoft.gsa.cloud.bean.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import com.gingersoft.gsa.cloud.bean.di.module.AllTableModule;
import com.gingersoft.gsa.cloud.bean.mvp.contract.AllTableContract;

import com.jess.arms.di.scope.FragmentScope;
import com.gingersoft.gsa.cloud.bean.mvp.ui.fragment.AllTableFragment;


/**
 * ================================================
 * Description:
 * <p>
 * Created by MVPArmsTemplate on 12/28/2019 17:33
 * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
 * <a href="https://github.com/JessYanCoding">Follow me</a>
 * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
 * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
 * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
 * ================================================
 */
@FragmentScope
@Component(modules = AllTableModule.class, dependencies = AppComponent.class)
public interface AllTableComponent {
    void inject(AllTableFragment fragment);

    @Component.Builder
    interface Builder {
        @BindsInstance
        AllTableComponent.Builder view(AllTableContract.View view);

        AllTableComponent.Builder appComponent(AppComponent appComponent);

        AllTableComponent build();
    }
}