SupportPageAdapter
If FragmentStatePagerAdapter.BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT is passed in, then only the current Fragment is in the androidx.lifecycle.Lifecycle.State.RESUMED state, while all other fragments are capped at androidx.lifecycle.Lifecycle.State.STARTED.
If FragmentStatePagerAdapter.BEHAVIOR_SET_USER_VISIBLE_HINT is used, then all fragments are in the androidx.lifecycle.Lifecycle.State.RESUMED state and there will be callbacks to androidx.fragment.app.Fragment.setUserVisibleHint.
Since
v0.9.X
Parameters
Fragment manager that will interact with this adapter
Constructors
Functions
This method may be called by the ViewPager to obtain a title string to describe the specified page. This method may return null indicating no title for this page. The default implementation returns null.
Sets the given array resources as standard strings titles