package com.ohtu.wearable.wearabledataservice.fragments;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;

public class PagerAdapter extends FragmentPagerAdapter {

    public PagerAdapter(FragmentManager fm) {
        super(fm);
    }

    @Override
    public Fragment getItem(int arg0) {

        switch (arg0) {
            case 0:

                return new FragmentThree();
            case 1:
                return new FragmentOne();
            case 2:
                return new FragmentTwo();
            default:
                break;
        }
        return null;
    }

    @Override
    public int getCount() {

        return 3;
    }


}

@@ -420,17 +420,16 @@
 case 0:%0A
-%0A
         

Update PagerAdapter.java