Android APIs
public class

LeanbackPreferenceDialogFragment

extends Fragment
java.lang.Object
   ↳ android.app.Fragment
     ↳ android.support.v17.preference.LeanbackPreferenceDialogFragment
Known Direct Subclasses

Summary

[Expand]
Inherited XML Attributes
From class android.app.Fragment
Constants
String ARG_KEY
[Expand]
Inherited Constants
From interface android.content.ComponentCallbacks2
Public Constructors
LeanbackPreferenceDialogFragment()
Public Methods
DialogPreference getPreference()
void onCreate(Bundle savedInstanceState)
Called to do initial creation of a fragment.
[Expand]
Inherited Methods
From class android.app.Fragment
From class java.lang.Object
From interface android.content.ComponentCallbacks2
From interface android.view.View.OnCreateContextMenuListener
From interface android.content.ComponentCallbacks

Constants

public static final String ARG_KEY

Constant Value: "key"

Public Constructors

public LeanbackPreferenceDialogFragment ()

Public Methods

public DialogPreference getPreference ()

public void onCreate (Bundle savedInstanceState)

Called to do initial creation of a fragment. This is called after onAttach(Activity) and before onCreateView(LayoutInflater, ViewGroup, Bundle).

Note that this can be called while the fragment's activity is still in the process of being created. As such, you can not rely on things like the activity's content view hierarchy being initialized at this point. If you want to do work once the activity itself is created, see onActivityCreated(Bundle).

Parameters
savedInstanceState If the fragment is being re-created from a previous saved state, this is the state.