Change Fragment on tab change in Tablayout

148 Views Asked by At

I have three tab A,B,C and fragment from A=>a1,a2,a3, from B=>b1,b2,b3 and same in C. i want when i have change the tab always first fragment are visible like in A=>a1, B=>b1 and C=>c1. but when i have change tab last visit fragment are visible.plz help me.

I am using Tablayout and ViewPager

0

There are 0 best solutions below