Created
November 14, 2016 13:44
-
-
Save tassioauad/26ded8f505b972e1b429f745bf5106d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ViewPager viewPager = (ViewPager) findViewById(R.id.pager); | |
TitlePageIndicator titleIndicator = (TitlePageIndicator)findViewById(R.id.indicator); | |
viewPager.setAdapter(new SeuViewPagerAdapter()); | |
viewPager.setCurrentItem(getIntent().getIntExtra(VIEWPAGER_LAST_POSITION, 0)); | |
titleIndicator.setViewPager(viewPager); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment