I know I\'m asking some serious 101 question here...
I have some class Foo
and a class Bar
that extends Foo
. In Foo
This error could also happen because you are calling your super constructor last. You might have to move it to be the first statement:
public SectionsPagerAdapter(FragmentManager manager, List fragmentList) {
mFragmentList = fragmentList;
super(manager);
}
public SectionsPagerAdapter(FragmentManager manager, List fragmentList) {
super(manager); --> this should come first
mFragmentList = fragmentList;
}