added in version 24.1.0
belongs to Maven artifact com.android.support:preference-leanback-v17:28.0.0-alpha1
belongs to Maven artifact com.android.support:preference-leanback-v17:28.0.0-alpha1
Summary:
Inherited XML Attrs
| Inherited Constants
| Ctors
| Methods
| Inherited Methods
| [Expand All]
BaseLeanbackPreferenceFragment
public
abstract
class
BaseLeanbackPreferenceFragment
extends PreferenceFragment
java.lang.Object | |||
↳ | android.app.Fragment | ||
↳ | android.support.v14.preference.PreferenceFragment | ||
↳ | android.support.v17.preference.BaseLeanbackPreferenceFragment |
This fragment provides a preference fragment with leanback-style behavior, suitable for embedding into broader UI elements.
Summary
Inherited XML attributes | |
---|---|
![]()
android.support.v14.preference.PreferenceFragment
|
Inherited constants |
---|
![]()
android.support.v14.preference.PreferenceFragment
|
![]()
android.content.ComponentCallbacks2
|
Public constructors | |
---|---|
BaseLeanbackPreferenceFragment()
|
Public methods | |
---|---|
RecyclerView
|
onCreateRecyclerView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState)
Creates the |
Inherited methods | |
---|---|
![]()
android.support.v14.preference.PreferenceFragment
| |
![]()
android.app.Fragment
| |
![]()
java.lang.Object
| |
![]()
android.support.v7.preference.PreferenceManager.OnPreferenceTreeClickListener
| |
![]()
android.support.v7.preference.PreferenceManager.OnDisplayPreferenceDialogListener
| |
![]()
android.support.v7.preference.PreferenceManager.OnNavigateToScreenListener
| |
![]()
android.support.v7.preference.DialogPreference.TargetFragment
| |
![]()
android.content.ComponentCallbacks2
| |
![]()
android.view.View.OnCreateContextMenuListener
| |
![]()
android.content.ComponentCallbacks
|
Public constructors
Public methods
onCreateRecyclerView
added in version 24.1.0
RecyclerView onCreateRecyclerView (LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState)
Creates the RecyclerView
used to display the preferences.
Subclasses may override this to return a customized
RecyclerView
.
Parameters | |
---|---|
inflater |
LayoutInflater : The LayoutInflater object that can be used to inflate the
RecyclerView . |
parent |
ViewGroup : The parent View that the RecyclerView will be attached to.
This method should not add the view itself, but this can be used to generate
the LayoutParams of the view. |
savedInstanceState |
Bundle : If non-null, this view is being re-constructed from a previous
saved state as given here |
Returns | |
---|---|
RecyclerView |
A new RecyclerView object to be placed into the view hierarchy |
Interfaces
Classes
- BaseLeanbackPreferenceFragment
- LeanbackListPreferenceDialogFragment
- LeanbackListPreferenceDialogFragment.AdapterMulti
- LeanbackListPreferenceDialogFragment.AdapterSingle
- LeanbackListPreferenceDialogFragment.ViewHolder
- LeanbackPreferenceDialogFragment
- LeanbackPreferenceFragment
- LeanbackSettingsFragment
- R
- R.anim
- R.animator
- R.attr
- R.bool
- R.color
- R.dimen
- R.drawable
- R.fraction
- R.id
- R.integer
- R.layout
- R.raw
- R.string
- R.style
- R.styleable
- R.transition