I know this is an old question, but you can now use PreferenceFragmentCompat
from com.android.support:preference-v7:23.3.0
More Related Contents:
- How to determine when Fragment becomes visible in ViewPager
- Do fragments really need an empty constructor?
- IllegalStateException: Can not perform this action after onSaveInstanceState with ViewPager
- How to transfer some data to another Fragment?
- Dilemma: when to use Fragments vs Activities:
- Why fragments, and when to use fragments instead of activities?
- Refresh Fragment at reload
- Android Fragment onAttach() deprecated
- How to implement RecyclerView with CardView rows in a Fragment with TabLayout
- Android Fragments. Retaining an AsyncTask during screen rotation or configuration change
- Hide/Show bottomNavigationView on Scroll
- PreferenceFragmentCompat requires preferenceTheme to be set
- FragmentContainerView using findNavController
- Show hide fragment in android
- onClickListener does not work in fragment
- How to wrap the height of a ViewPager to the height of its current Fragment?
- Remove old Fragment from fragment manager
- When a Fragment is replaced and put in the back stack (or removed) does it stay in memory?
- How to listen for preference changes within a PreferenceFragment?
- refresh fragment UI from fragmentActivity
- Android – save/restore fragment state
- Coordinator Layout with Toolbar in Fragments or Activity
- findFragmentById always returns null
- How to replace the activity’s fragment from the fragment itself?
- Use external application fragment/activity inside application
- What’s the difference between detaching a Fragment and removing it?
- How I can retrieve current fragment in NavHostFragment?
- Button Listener for button in fragment in android
- Disable multi finger touch in my app [duplicate]
- Activity vs Fragment Lifecycle [closed]