TabBarView icon indicating copy to clipboard operation
TabBarView copied to clipboard

FragmentPagerAdapter subclass must implement getPageTitle

Open alunsford3 opened this issue 11 years ago • 0 comments

In TabBarView you are calling pager.getAdapter().getPageTitle(i).toString() which will throw an NPE if it is unimplemented. Since getPageTitle is not abstract, the CharSequence returned should be checked.

https://github.com/Mirkoddd/TabBarView/blob/master/TabBarViewLibrary/src/com/mirko/tbv/TabBarView.java#L174

alunsford3 avatar Jul 22 '14 21:07 alunsford3