-
Hi
how can I do set setCurrentItem function?
after below code I get some errors :
```
mViewPager.setCurrentItem(3);
```
errors :
```
at com.kmshack.newsstand.MainActivity.onPageSelected(MainActi…
-
``` JAVA
mTabsAdapter = new TabsAdapter(getActivity().getSupportFragmentManager());
mViewPager = (ViewPager) view.findViewById(R.id.pager);
mViewPager.setAdapter(mTabsAdapter);
mPagerSlidingTabStrip …
rodly updated
9 years ago
-
Can I include tabs (which are supposed to be in com.astuetz.PagerSlidingTabStrip) within the Toolbar when editing a layout?
What I want to do is the following:
```
```
But I g…
-
Caused by: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x12
at android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:666)
at com.astuetz.PagerSliding…
-
In case you want to change the divider's width heres is my two lines solution:
In .java file:
```
public PagerSlidingTabStrip(Context context, AttributeSet attrs, int defStyle) {
super(context, …
-
First of all, nice work on your library.
I am currently having some issues with PagerSlidingTabStrip.setViewPager(ViewPager);
on my FragmentPagerAdapter class I have overrided getPageTitle, getCount…
-
I have observed a crash when linking is enabled and when Android starts a new process but restores an application back to a previous activity on which PagerSlidingTabStrip is hosted.
Looking through …
-
There are two licenses of
- Floating Action Button
- PagerSlidingTabStrip
SoundRecorder is missing from Open Source Licenses popup, and should be first on that list, in my opinion.
-
I'd like to suggest adding this feature, and I've even tried something that made it work well:
add those attributes:
```
```
in the "PagerSlidingTabStrip" file, add those:
```
private st…
-
Can we disable page sliding in PagerSlidingTabStrip ? I am using PagerSlidingTabStrip where tabs are created dynamically in my example. On each fragment there are tow buttons
1. Chapter wise analysis
…