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.challengenine.listeners; /* w w w . j av a 2 s . c o m*/ import android.app.ActionBar; import android.support.v4.view.ViewPager; /** * Class to handle tab changes after a gesture for ChallengeActivity */ public class ChallengeActivityOnPageChangeListener extends ViewPager.SimpleOnPageChangeListener { ActionBar actionBar; public ChallengeActivityOnPageChangeListener(ActionBar actionBar){ this.actionBar = actionBar; } @Override public void onPageSelected(int position) { actionBar.setSelectedNavigationItem(position); } }