I have a tablayout with four tabs under viewpager. I want to change the text title when i slide the tab. My problem is i can\'t handle tab respectively.
For instanc
try this
tabLayoutHomePage.getTabAt(position).setText("new Text");
This should also work
mSlidingTabLayout.setTabText(position,name)