// Path: sample/src/main/java/com/tresorit/zerokitsdk/adapter/EncryptPagerAdapter.java
// public class EncryptPagerAdapter extends FragmentPagerAdapter {
// 
//     @SuppressWarnings("WeakerAccess")
//     @Inject
//     CreateTresorFragment createTresorFragment;
// 
//     @SuppressWarnings("WeakerAccess")
//     @Inject
//     EncryptTextFragment encryptTextFragment;
// 
//     @SuppressWarnings("WeakerAccess")
//     @Inject
//     ShareTresorFragment shareTresorFragment;
// 
// 
//     public EncryptPagerAdapter(Context context, FragmentManager fm) {
//         super(fm);
//         DaggerPagerComponent.builder().applicationComponent(ZerokitApplication.get(context).component()).build().inject(this);
//     }
// 
//     @Override
//     public Fragment getItem(int position) {
//         switch (position){
//             case 0:
//                 return createTresorFragment;
//             case 1:
//                 return encryptTextFragment;
//             case 2:
//                 return shareTresorFragment;
//             default:
//                 return new Fragment();
//         }
//     }
// 
//     @Override
//     public int getCount() {
//         return 3;
//     }
// }


import android.content.Context;
import android.databinding.BaseObservable;
import android.databinding.ObservableField;
import android.graphics.drawable.Drawable;
import android.support.v4.app.FragmentManager;
import android.support.v4.view.ViewPager;
import com.tresorit.zerokitsdk.R;
import com.tresorit.zerokitsdk.adapter.EncryptPagerAdapter;
package com.tresorit.zerokitsdk.viewmodel;



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) {
// Path: sample/src/main/java/com/tresorit/zerokitsdk/adapter/EncryptPagerAdapter.java
// public class EncryptPagerAdapter extends FragmentPagerAdapter {
// 
//     @SuppressWarnings("WeakerAccess")
//     @Inject
//     CreateTresorFragment createTresorFragment;
// 
//     @SuppressWarnings("WeakerAccess")
//     @Inject
//     EncryptTextFragment encryptTextFragment;
// 
//     @SuppressWarnings("WeakerAccess")
//     @Inject
//     ShareTresorFragment shareTresorFragment;
// 
// 
//     public EncryptPagerAdapter(Context context, FragmentManager fm) {
//         super(fm);
//         DaggerPagerComponent.builder().applicationComponent(ZerokitApplication.get(context).component()).build().inject(this);
//     }
// 
//     @Override
//     public Fragment getItem(int position) {
//         switch (position){
//             case 0:
//                 return createTresorFragment;
//             case 1:
//                 return encryptTextFragment;
//             case 2:
//                 return shareTresorFragment;
//             default:
//                 return new Fragment();
//         }
//     }
// 
//     @Override
//     public int getCount() {
//         return 3;
//     }
// }


// Path: sample/src/main/java/com/tresorit/zerokitsdk/viewmodel/EncryptViewModel.java
import android.content.Context;
import android.databinding.BaseObservable;
import android.databinding.ObservableField;
import android.graphics.drawable.Drawable;
import android.support.v4.app.FragmentManager;
import android.support.v4.view.ViewPager;
import com.tresorit.zerokitsdk.R;
import com.tresorit.zerokitsdk.adapter.EncryptPagerAdapter;

package com.tresorit.zerokitsdk.viewmodel;



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);