We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please tell me How can I change title of tab?
adapter = new FragmentPagerItemAdapter(getSupportFragmentManager(), FragmentPagerItems.with(AnketaActivity.this) .add("tab1", AnketaFragment1.class) .add("tab2", AnketaFragment2.class) .add("tab3", AnketaFragment3.class) .create());
I want change "tab1" to "tab1 new"
The text was updated successfully, but these errors were encountered:
Hi, @mynickisalreadytaken
You want to change before you set the ViewPager#setAdapter(..)? Or you want to change after the tab is displayed?
ViewPager#setAdapter(..)
Steps to change is different depending on the situation.
Sorry, something went wrong.
after the tab is displayed
Okay you can easily display on the changes:
((TextView)viewPagerTab.getTabAt(0)).setText("tab1 new");
Solved ?
thank you!
No branches or pull requests
Please tell me
How can I change title of tab?
I want change "tab1" to "tab1 new"
The text was updated successfully, but these errors were encountered: