I decided to use a ViewPager
in my application and everything is working fine.
I Know that I want to use a PagerTitleStrip
in my ViewPager
I'm not sure what causing error in your case but this is how I use it, in your layout you should insert following code in your layout:
Then you should add the following code in your PageAdapter:
@Override
public CharSequence getPageTitle (int position) {
return "Your static title";
}
That's pretty it.