Deprecated: use FragmentPagerAdapter(FragmentManager, int) with BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMEN
viewpage+多fragment时,遇到以下deprecatedDeprecated: use FragmentPagerAdapter(FragmentManager, int) with BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT解决办法: vp_main.adapter = object : FragmentPagerAdapter(supportFragmentManager, FragmentPagerAdapter.BEHA
原创
2020-06-01 18:36:06 ·
3873 阅读 ·
3 评论