1

我怎么能在使用setTag时。任何建议FragmentFragmentPagerAdapter

public class MainFragmentAdapter extends FragmentPagerAdapter {
 public Fragment getItem(int arg0) {
            switch (arg0) {
            case 0:
                SettingsFragment fr = new SettingsFragment();

fr.setTag();

return fr;
        ...
    ....
    ...

            }
4

0 回答 0