Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

BaseLeanbackPreferenceFragment

abstract class BaseLeanbackPreferenceFragment : PreferenceFragment
kotlin.Any
   ↳ android.app.Fragment
   ↳ androidx.preference.PreferenceFragment
   ↳ androidx.leanback.preference.BaseLeanbackPreferenceFragment

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

Summary

Inherited constants

Public constructors

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

Public methods

open RecyclerView!
onCreateRecyclerView(inflater: LayoutInflater!, parent: ViewGroup!, savedInstanceState: Bundle!)

Inherited functions

Public constructors

<init>

BaseLeanbackPreferenceFragment()

Deprecated: Use BaseLeanbackPreferenceFragmentCompat

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

Public methods

onCreateRecyclerView

open fun onCreateRecyclerView(inflater: LayoutInflater!, parent: ViewGroup!, savedInstanceState: Bundle!): RecyclerView!