BaseLeanbackPreferenceFragmentCompat

public abstract class BaseLeanbackPreferenceFragmentCompat
extends PreferenceFragmentCompat

java.lang.Object
   ↳ androidx.fragment.app.Fragment
     ↳ androidx.preference.PreferenceFragmentCompat
       ↳ androidx.leanback.preference.BaseLeanbackPreferenceFragmentCompat


This fragment provides a preference fragment with leanback-style behavior, suitable for embedding into broader UI elements.

Summary

Inherited constants

Public constructors

BaseLeanbackPreferenceFragmentCompat()

Public methods

Context getContext()

Return the Context this fragment is currently associated with.

RecyclerView onCreateRecyclerView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState)

Creates the RecyclerView used to display the preferences.

Inherited methods