1

SectionsPagerAdapter mSectionsPagerAdapter; says mSectionsPagerAdapter cannot be resolved to a variable.

It doesn't not give me any suggestions for inputs.

4

1 回答 1

4

It is a referenced variable of inner class SectionsPagerAdapter, which extends the FragmentPAgerAdapter class, basically handling the swipe or click functions on a View pager(simply actions on Tabs or swiping on fragments).

enter image description here

possible errors could be -

  1. Inner class not defined.
  2. Error in naming of inner class and the variable data type.
于 2013-08-04T18:41:02.437 回答