// Path: challenge-nine/app/src/main/java/com/reoky/crackme/challengenine/fragments/AboutFragment.java
// public class AboutFragment extends Fragment {
// 
//     public AboutFragment() {}
// 
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
// 
//         // Inflate the view
//         View view = inflater.inflate(R.layout.fragment_about, container, false);
// 
//         // Handle the quit button being pressed
//         final Button quitButton = (Button) view.findViewById(R.id.button_quit);
//         quitButton.setOnClickListener(new AboutFragmentOnClickListener());
// 
//         return view;
//     }
// 
// }


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



public class ChallengePagerAdapter extends FragmentPagerAdapter {

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

    @Override
    public Fragment getItem(int position) {
        switch (position) {
            case 0:
                return new ChallengeNineFragment();
            case 1:
                return new HintFragment();
            default:
// Path: challenge-nine/app/src/main/java/com/reoky/crackme/challengenine/fragments/AboutFragment.java
// public class AboutFragment extends Fragment {
// 
//     public AboutFragment() {}
// 
//     @Override
//     public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
// 
//         // Inflate the view
//         View view = inflater.inflate(R.layout.fragment_about, container, false);
// 
//         // Handle the quit button being pressed
//         final Button quitButton = (Button) view.findViewById(R.id.button_quit);
//         quitButton.setOnClickListener(new AboutFragmentOnClickListener());
// 
//         return view;
//     }
// 
// }


// Path: challenge-nine/app/src/main/java/com/reoky/crackme/challengenine/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.challengenine.fragments.AboutFragment;
import com.reoky.crackme.challengenine.fragments.ChallengeNineFragment;
import com.reoky.crackme.challengenine.fragments.HintFragment;

package com.reoky.crackme.challengenine.adaptors;



public class ChallengePagerAdapter extends FragmentPagerAdapter {

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

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