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.challengeten.adaptors; /*w ww . ja v a 2s .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.challengeten.fragments.AboutFragment; import com.reoky.crackme.challengeten.fragments.ChallengeTenFragment; import com.reoky.crackme.challengeten.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 ChallengeTenFragment(); case 1: return new HintFragment(); default: return new AboutFragment(); } } @Override public int getCount() { return 3; } }