package com.gingersoft.gsa.delivery_pick_mode.di.component;

import com.gingersoft.gsa.delivery_pick_mode.di.module.SendOrderModule;
import com.gingersoft.gsa.delivery_pick_mode.mvp.contract.SendOrderContract;
import com.gingersoft.gsa.delivery_pick_mode.mvp.ui.activity.SendOrderActivity;
import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.ActivityScope;

import dagger.BindsInstance;
import dagger.Component;


/**
 * ================================================
 * Description:
 * <p>
 * Created by MVPArmsTemplate on 10/10/2020 14:40
 * <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>
 * ================================================
 */
@ActivityScope
@Component(modules = SendOrderModule.class, dependencies = AppComponent.class)
public interface SendOrderComponent {
    void inject(SendOrderActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        SendOrderComponent.Builder view(SendOrderContract.View view);

        SendOrderComponent.Builder appComponent(AppComponent appComponent);

        SendOrderComponent build();
    }
}