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.challengethree.adaptors; /*from www .j a v a 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.challengethree.fragments.AboutFragment; import com.reoky.crackme.challengethree.fragments.ChallengeThreeFragment; import com.reoky.crackme.challengethree.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 ChallengeThreeFragment(); case 1: return new HintFragment(); default: return new AboutFragment(); } } @Override public int getCount() { return 3; } }