I am trying to implement viewpagerindicator within my app.
I am using viewpagerindicator lib. and my code is bellow link.
I am getting an error,
11-15 13:07:35.145: E/AndroidRuntime(431): Caused by: java.lang.IllegalStateException: ViewPager adapter must implement TitleProvider to be used with TitlePageIndicator.
at ViewPageActivitys line indicator.setViewPager(mPager);
Anybody help me how to solve it?
Thank you
replace this line with
You have to implement TitleProvider for your pager adapter if you are using titlePageindicator.
you might need to add some functions after implementing this…
to call different children..