Open salehmosleh opened 8 years ago
how to add tabs from right to left ?
You Should set viewPager.setCurrentItem(x); and When u Want Add Fragments do it Vice versa for Example if u Want a,b,c Do c,b,a
viewPager.setCurrentItem(x);
like This .add(R.string.c, c.class) .add(R.string.b, b.class) .add(R.string.a,a)
.add(R.string.c, c.class) .add(R.string.b, b.class) .add(R.string.a,a)
how to add tabs from right to left ?