Skip to content

Compiler Warnings as Errors - WordPress Module - FragmentPagerAdapter #17257

@ParaskP7

Description

@ParaskP7

Parent #17173

This issue is about resolving the FragmentPagerAdapter compile warnings for the WordPress module, and possibly, for the lib modules as well.

PS: Some of those warnings are already deprecated (see here).


  • Use FragmentPagerAdapter(FragmentManager, int) with BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT.
  • This class is deprecated. Switch to androidx.viewpager2.widget.ViewPager2 and use androidx.viewpager2.adapter.FragmentStateAdapter instead.

For more info see:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions