Ya está disponible la segunda Vista previa para desarrolladores de Android 11; pruébala y comparte tus comentarios.

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!