// Path: sample/src/main/java/com/tresorit/zerokitsdk/fragment/SignUpFragment.java
// public class SignUpFragment extends ComponentControllerFragment<RegistrationComponent> {
// 
//     @SuppressWarnings({"WeakerAccess", "CanBeFinal"})
//     @Inject
//     RegistrationViewModel registrationViewModel;
// 
//     @Nullable
//     @Override
//     public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
//         getComponent().inject(this);
//         FragmentRegistrationBinding binding = FragmentRegistrationBinding.inflate(inflater, container, false);
//         binding.setViewmodel(registrationViewModel);
//         return binding.getRoot();
//     }
// 
// 
//     @Override
//     protected RegistrationComponent onCreateNonConfigurationComponent() {
//         return DaggerRegistrationComponent.builder().applicationComponent(ZerokitApplication.get(getActivity()).component()).build();
//     }
// }
// 
// Path: sample/src/main/java/com/tresorit/zerokitsdk/module/RegistrationModule.java
// @Module
// public class RegistrationModule {
// 
//     @Provides
//     @ActivityScope
//     public RegistrationViewModel provideRegistrationViewModel(Zerokit zerokit, AdminApi adminApi, EventBus eventbus, SharedPreferences sharedPreferences, Context context) {
//         return new RegistrationViewModel(zerokit, adminApi, eventbus, sharedPreferences, context.getResources());
//     }
// }


import com.tresorit.zerokitsdk.fragment.SignUpFragment;
import com.tresorit.zerokitsdk.module.RegistrationModule;
import com.tresorit.zerokitsdk.scopes.ActivityScope;
import dagger.Component;
package com.tresorit.zerokitsdk.component;



@ActivityScope
@Component(
        modules = {
                RegistrationModule.class
        },
        dependencies = {
                ApplicationComponent.class
        }
)
public interface RegistrationComponent {
// Path: sample/src/main/java/com/tresorit/zerokitsdk/fragment/SignUpFragment.java
// public class SignUpFragment extends ComponentControllerFragment<RegistrationComponent> {
// 
//     @SuppressWarnings({"WeakerAccess", "CanBeFinal"})
//     @Inject
//     RegistrationViewModel registrationViewModel;
// 
//     @Nullable
//     @Override
//     public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
//         getComponent().inject(this);
//         FragmentRegistrationBinding binding = FragmentRegistrationBinding.inflate(inflater, container, false);
//         binding.setViewmodel(registrationViewModel);
//         return binding.getRoot();
//     }
// 
// 
//     @Override
//     protected RegistrationComponent onCreateNonConfigurationComponent() {
//         return DaggerRegistrationComponent.builder().applicationComponent(ZerokitApplication.get(getActivity()).component()).build();
//     }
// }
// 
// Path: sample/src/main/java/com/tresorit/zerokitsdk/module/RegistrationModule.java
// @Module
// public class RegistrationModule {
// 
//     @Provides
//     @ActivityScope
//     public RegistrationViewModel provideRegistrationViewModel(Zerokit zerokit, AdminApi adminApi, EventBus eventbus, SharedPreferences sharedPreferences, Context context) {
//         return new RegistrationViewModel(zerokit, adminApi, eventbus, sharedPreferences, context.getResources());
//     }
// }


// Path: sample/src/main/java/com/tresorit/zerokitsdk/component/RegistrationComponent.java
import com.tresorit.zerokitsdk.fragment.SignUpFragment;
import com.tresorit.zerokitsdk.module.RegistrationModule;
import com.tresorit.zerokitsdk.scopes.ActivityScope;
import dagger.Component;

package com.tresorit.zerokitsdk.component;



@ActivityScope
@Component(
        modules = {
                RegistrationModule.class
        },
        dependencies = {
                ApplicationComponent.class
        }
)
public interface RegistrationComponent {
    void inject(SignUpFragment fragment);