// Path: sample/src/main/java/com/tresorit/zerokitsdk/fragment/CreateTresorFragment.java
// public class CreateTresorFragment extends Fragment {
// 
//     @SuppressWarnings("WeakerAccess")
//     @Inject
//     CreateTresorViewModel viewModel;
// 
//     @Nullable
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//         DaggerCreateTresorComponent.builder().applicationComponent(ZerokitApplication.get(getActivity()).component()).build().inject(this);
//         FragmentCreateTresorBinding binding = FragmentCreateTresorBinding.inflate(inflater, container, false);
//         binding.setViewmodel(viewModel);
//         return binding.getRoot();
//     }
// }
// 
// Path: sample/src/main/java/com/tresorit/zerokitsdk/fragment/EncryptTextFragment.java
// public class EncryptTextFragment extends Fragment {
// 
//     @SuppressWarnings({"WeakerAccess", "CanBeFinal"})
//     @Inject
//     EncryptTextViewModel viewModel;
// 
//     @SuppressWarnings({"WeakerAccess", "CanBeFinal"})
//     @Inject
//     EventBus eventBus;
// 
//     @Nullable
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//         DaggerEncryptTextComponent.builder().applicationComponent(ZerokitApplication.get(getActivity()).component()).build().inject(this);
//         FragmentEncryptTextBinding binding = FragmentEncryptTextBinding.inflate(inflater, container, false);
//         binding.setViewmodel(viewModel);
//         return binding.getRoot();
//     }
// 
//     @Override
//     public void onStart() {
//         super.onStart();
//         eventBus.register(viewModel);
//     }
// 
//     @Override
//     public void onStop() {
//         super.onStop();
//         eventBus.unregister(viewModel);
//     }
// }
// 
// Path: sample/src/main/java/com/tresorit/zerokitsdk/fragment/ShareTresorFragment.java
// public class ShareTresorFragment extends Fragment {
// 
//     @SuppressWarnings({"WeakerAccess", "CanBeFinal"})
//     @Inject
//     ShareTresorViewModel viewModel;
// 
//     @SuppressWarnings({"WeakerAccess", "CanBeFinal"})
//     @Inject
//     EventBus eventBus;
// 
// 
//     @Nullable
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//         DaggerShareTresorComponent.builder().applicationComponent(ZerokitApplication.get(getActivity()).component()).build().inject(this);
//         FragmentShareTresorBinding binding = FragmentShareTresorBinding.inflate(inflater, container, false);
//         binding.setViewmodel(viewModel);
//         return binding.getRoot();
//     }
// 
//     @Override
//     public void onStart() {
//         super.onStart();
//         eventBus.register(viewModel);
//     }
// 
//     @Override
//     public void onStop() {
//         super.onStop();
//         eventBus.unregister(viewModel);
//     }
// }


import com.tresorit.zerokitsdk.fragment.CreateTresorFragment;
import com.tresorit.zerokitsdk.fragment.EncryptTextFragment;
import com.tresorit.zerokitsdk.fragment.ShareTresorFragment;
import com.tresorit.zerokitsdk.scopes.ActivityScope;
import dagger.Module;
import dagger.Provides;
package com.tresorit.zerokitsdk.module;



@Module
public class PagerModule {

    @Provides
    @ActivityScope
    public CreateTresorFragment provideCreateTresorFragment() {
        return new CreateTresorFragment();
    }

    @Provides
    @ActivityScope
    public ShareTresorFragment provideShareTresorFragment() {
// Path: sample/src/main/java/com/tresorit/zerokitsdk/fragment/CreateTresorFragment.java
// public class CreateTresorFragment extends Fragment {
// 
//     @SuppressWarnings("WeakerAccess")
//     @Inject
//     CreateTresorViewModel viewModel;
// 
//     @Nullable
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//         DaggerCreateTresorComponent.builder().applicationComponent(ZerokitApplication.get(getActivity()).component()).build().inject(this);
//         FragmentCreateTresorBinding binding = FragmentCreateTresorBinding.inflate(inflater, container, false);
//         binding.setViewmodel(viewModel);
//         return binding.getRoot();
//     }
// }
// 
// Path: sample/src/main/java/com/tresorit/zerokitsdk/fragment/EncryptTextFragment.java
// public class EncryptTextFragment extends Fragment {
// 
//     @SuppressWarnings({"WeakerAccess", "CanBeFinal"})
//     @Inject
//     EncryptTextViewModel viewModel;
// 
//     @SuppressWarnings({"WeakerAccess", "CanBeFinal"})
//     @Inject
//     EventBus eventBus;
// 
//     @Nullable
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//         DaggerEncryptTextComponent.builder().applicationComponent(ZerokitApplication.get(getActivity()).component()).build().inject(this);
//         FragmentEncryptTextBinding binding = FragmentEncryptTextBinding.inflate(inflater, container, false);
//         binding.setViewmodel(viewModel);
//         return binding.getRoot();
//     }
// 
//     @Override
//     public void onStart() {
//         super.onStart();
//         eventBus.register(viewModel);
//     }
// 
//     @Override
//     public void onStop() {
//         super.onStop();
//         eventBus.unregister(viewModel);
//     }
// }
// 
// Path: sample/src/main/java/com/tresorit/zerokitsdk/fragment/ShareTresorFragment.java
// public class ShareTresorFragment extends Fragment {
// 
//     @SuppressWarnings({"WeakerAccess", "CanBeFinal"})
//     @Inject
//     ShareTresorViewModel viewModel;
// 
//     @SuppressWarnings({"WeakerAccess", "CanBeFinal"})
//     @Inject
//     EventBus eventBus;
// 
// 
//     @Nullable
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//         DaggerShareTresorComponent.builder().applicationComponent(ZerokitApplication.get(getActivity()).component()).build().inject(this);
//         FragmentShareTresorBinding binding = FragmentShareTresorBinding.inflate(inflater, container, false);
//         binding.setViewmodel(viewModel);
//         return binding.getRoot();
//     }
// 
//     @Override
//     public void onStart() {
//         super.onStart();
//         eventBus.register(viewModel);
//     }
// 
//     @Override
//     public void onStop() {
//         super.onStop();
//         eventBus.unregister(viewModel);
//     }
// }


// Path: sample/src/main/java/com/tresorit/zerokitsdk/module/PagerModule.java
import com.tresorit.zerokitsdk.fragment.CreateTresorFragment;
import com.tresorit.zerokitsdk.fragment.EncryptTextFragment;
import com.tresorit.zerokitsdk.fragment.ShareTresorFragment;
import com.tresorit.zerokitsdk.scopes.ActivityScope;
import dagger.Module;
import dagger.Provides;

package com.tresorit.zerokitsdk.module;



@Module
public class PagerModule {

    @Provides
    @ActivityScope
    public CreateTresorFragment provideCreateTresorFragment() {
        return new CreateTresorFragment();
    }

    @Provides
    @ActivityScope
    public ShareTresorFragment provideShareTresorFragment() {
        return new ShareTresorFragment();