草庐IT

mSectionsPagerAdapter

全部标签

android - getChildFragmentManager()无法解析或无法引用

我知道,已经有很多关于这个主题的论坛帖子,但没有一个能解决我的问题我的代码是这样的:privateSectionsPagerAdaptermyAdapt;privateViewPagermyPager;....@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.activity_home_screen);Toolbartoolbar=(Toolbar)findViewById(R.id.toolbar);se