// Path: sample/src/main/java/com/tresorit/zerokitsdk/viewmodel/EncryptViewModel.java
// public class EncryptViewModel extends BaseObservable {
// 
//     @SuppressWarnings("WeakerAccess")
//     public final EncryptPagerAdapter pagerAdapter;
//     @SuppressWarnings("WeakerAccess")
//     public final ViewPager.OnPageChangeListener pageChangeListener;
//     @SuppressWarnings("WeakerAccess")
//     public final ObservableField<Drawable> drawableDot1;
//     @SuppressWarnings("WeakerAccess")
//     public final ObservableField<Drawable> drawableDot2;
//     @SuppressWarnings("WeakerAccess")
//     public final ObservableField<Drawable> drawableDot3;
// 
// 
//     public EncryptViewModel(final Context context, FragmentManager fragmentManager) {
//         pagerAdapter = new EncryptPagerAdapter(context, fragmentManager);
//         pageChangeListener = new ViewPager.SimpleOnPageChangeListener() {
// 
//             @Override
//             public void onPageSelected(int position) {
//                 drawableDot1.set(context.getResources().getDrawable(position == 0 ? R.drawable.selecteditem_dot : R.drawable.nonselecteditem_dot));
//                 drawableDot2.set(context.getResources().getDrawable(position == 1 ? R.drawable.selecteditem_dot : R.drawable.nonselecteditem_dot));
//                 drawableDot3.set(context.getResources().getDrawable(position == 2 ? R.drawable.selecteditem_dot : R.drawable.nonselecteditem_dot));
//             }
// 
//         };
// 
//         drawableDot1 = new ObservableField<>(context.getResources().getDrawable(R.drawable.selecteditem_dot));
//         drawableDot2 = new ObservableField<>(context.getResources().getDrawable(R.drawable.nonselecteditem_dot));
//         drawableDot3 = new ObservableField<>(context.getResources().getDrawable(R.drawable.nonselecteditem_dot));
//     }
// 
// 
// 
// }


import android.content.Context;
import android.support.v4.app.FragmentManager;
import com.tresorit.zerokitsdk.scopes.ActivityScope;
import com.tresorit.zerokitsdk.viewmodel.EncryptViewModel;
import dagger.Module;
import dagger.Provides;
package com.tresorit.zerokitsdk.module;





@Module
public class EncryptModule {

    private final FragmentManager fragmentManager;

    public EncryptModule(FragmentManager fragmentManager) {
        this.fragmentManager = fragmentManager;
    }

    @Provides
    @ActivityScope
// Path: sample/src/main/java/com/tresorit/zerokitsdk/viewmodel/EncryptViewModel.java
// public class EncryptViewModel extends BaseObservable {
// 
//     @SuppressWarnings("WeakerAccess")
//     public final EncryptPagerAdapter pagerAdapter;
//     @SuppressWarnings("WeakerAccess")
//     public final ViewPager.OnPageChangeListener pageChangeListener;
//     @SuppressWarnings("WeakerAccess")
//     public final ObservableField<Drawable> drawableDot1;
//     @SuppressWarnings("WeakerAccess")
//     public final ObservableField<Drawable> drawableDot2;
//     @SuppressWarnings("WeakerAccess")
//     public final ObservableField<Drawable> drawableDot3;
// 
// 
//     public EncryptViewModel(final Context context, FragmentManager fragmentManager) {
//         pagerAdapter = new EncryptPagerAdapter(context, fragmentManager);
//         pageChangeListener = new ViewPager.SimpleOnPageChangeListener() {
// 
//             @Override
//             public void onPageSelected(int position) {
//                 drawableDot1.set(context.getResources().getDrawable(position == 0 ? R.drawable.selecteditem_dot : R.drawable.nonselecteditem_dot));
//                 drawableDot2.set(context.getResources().getDrawable(position == 1 ? R.drawable.selecteditem_dot : R.drawable.nonselecteditem_dot));
//                 drawableDot3.set(context.getResources().getDrawable(position == 2 ? R.drawable.selecteditem_dot : R.drawable.nonselecteditem_dot));
//             }
// 
//         };
// 
//         drawableDot1 = new ObservableField<>(context.getResources().getDrawable(R.drawable.selecteditem_dot));
//         drawableDot2 = new ObservableField<>(context.getResources().getDrawable(R.drawable.nonselecteditem_dot));
//         drawableDot3 = new ObservableField<>(context.getResources().getDrawable(R.drawable.nonselecteditem_dot));
//     }
// 
// 
// 
// }


// Path: sample/src/main/java/com/tresorit/zerokitsdk/module/EncryptModule.java
import android.content.Context;
import android.support.v4.app.FragmentManager;
import com.tresorit.zerokitsdk.scopes.ActivityScope;
import com.tresorit.zerokitsdk.viewmodel.EncryptViewModel;
import dagger.Module;
import dagger.Provides;

package com.tresorit.zerokitsdk.module;





@Module
public class EncryptModule {

    private final FragmentManager fragmentManager;

    public EncryptModule(FragmentManager fragmentManager) {
        this.fragmentManager = fragmentManager;
    }

    @Provides
    @ActivityScope
    public EncryptViewModel provideEncryptViewModel(Context context) {