Skip to content
New issue

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

PagerSlidingTabStrip not showing inside a fragment #322

Open
hertzon opened this issue Mar 16, 2018 · 1 comment
Open

PagerSlidingTabStrip not showing inside a fragment #322

hertzon opened this issue Mar 16, 2018 · 1 comment

Comments

@hertzon
Copy link

hertzon commented Mar 16, 2018

Hello, I use PagerSlidingTabStrip inside in fragment, but not appear, please help me to fix this...

mSectionsPagerAdapter = new SectionsPagerAdapter(getChildFragmentManager());
tabs = (PagerSlidingTabStrip) view.findViewById(R.id.appbar);
mViewPager = (ViewPager) view.findViewById(R.id.pager);
mViewPager.setAdapter(mSectionsPagerAdapter);
tabs.setViewPager(mViewPager);

@hi-reeve
Copy link

same here just use this library but i cant use it inside fragment. it wont show the tab only showing inside the pager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants