// Path: challenge-three/app/src/main/java/com/reoky/crackme/challengethree/fragments/HintFragment.java
// public class HintFragment extends Fragment {
// 
//     public HintFragment() {}
// 
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//         View view = inflater.inflate(R.layout.fragment_hint, container, false);
//         final ToggleButton switchShowHint = (ToggleButton) view.findViewById(R.id.switch_show_hint);
//         switchShowHint.setOnCheckedChangeListener(new HintFragmentOnCheckedChangeListener((TextView) view.findViewById(R.id.text_hint)));
//         return view;
//     }
// 
// }


import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.reoky.crackme.challengethree.fragments.AboutFragment;
import com.reoky.crackme.challengethree.fragments.ChallengeThreeFragment;
import com.reoky.crackme.challengethree.fragments.HintFragment;
package com.reoky.crackme.challengethree.adaptors;



public class ChallengePagerAdapter extends FragmentPagerAdapter {

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

    @Override
    public Fragment getItem(int position) {
        switch (position) {
            case 0:
                return new ChallengeThreeFragment();
            case 1:
// Path: challenge-three/app/src/main/java/com/reoky/crackme/challengethree/fragments/HintFragment.java
// public class HintFragment extends Fragment {
// 
//     public HintFragment() {}
// 
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//         View view = inflater.inflate(R.layout.fragment_hint, container, false);
//         final ToggleButton switchShowHint = (ToggleButton) view.findViewById(R.id.switch_show_hint);
//         switchShowHint.setOnCheckedChangeListener(new HintFragmentOnCheckedChangeListener((TextView) view.findViewById(R.id.text_hint)));
//         return view;
//     }
// 
// }


// Path: challenge-three/app/src/main/java/com/reoky/crackme/challengethree/adaptors/ChallengePagerAdapter.java
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.reoky.crackme.challengethree.fragments.AboutFragment;
import com.reoky.crackme.challengethree.fragments.ChallengeThreeFragment;
import com.reoky.crackme.challengethree.fragments.HintFragment;

package com.reoky.crackme.challengethree.adaptors;



public class ChallengePagerAdapter extends FragmentPagerAdapter {

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

    @Override
    public Fragment getItem(int position) {
        switch (position) {
            case 0:
                return new ChallengeThreeFragment();
            case 1:
                return new HintFragment();