Back to project page android-crackme-challenge.
The source code is released under:
MIT License
If you think the Android project android-crackme-challenge listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.reoky.crackme.challengesix.adaptors; //from w ww .j ava 2 s . c o m import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import com.reoky.crackme.challengesix.fragments.AboutFragment; import com.reoky.crackme.challengesix.fragments.ChallengeSixFragment; import com.reoky.crackme.challengesix.fragments.HintFragment; public class ChallengePagerAdapter extends FragmentPagerAdapter { public ChallengePagerAdapter(FragmentManager fm) { super(fm); } @Override public Fragment getItem(int position) { switch (position) { case 0: return new ChallengeSixFragment(); case 1: return new HintFragment(); default: return new AboutFragment(); } } @Override public int getCount() { return 3; } }