Skip to content

Most visited

Recently visited

navigation
added in version 24.1.0
belongs to Maven artifact com.android.support:preference-v14:27.0.0

EditTextPreferenceDialogFragment

public class EditTextPreferenceDialogFragment
extends PreferenceDialogFragment

java.lang.Object
   ↳ android.app.Fragment
     ↳ android.app.DialogFragment
       ↳ android.support.v14.preference.PreferenceDialogFragment
         ↳ android.support.v14.preference.EditTextPreferenceDialogFragment


Summary

Inherited constants

From class android.support.v14.preference.PreferenceDialogFragment
From class android.app.DialogFragment
From interface android.content.ComponentCallbacks2

Public constructors

EditTextPreferenceDialogFragment()

Public methods

static EditTextPreferenceDialogFragment newInstance(String key)
void onCreate(Bundle savedInstanceState)
void onDialogClosed(boolean positiveResult)
void onSaveInstanceState(Bundle outState)

Protected methods

void onBindDialogView(View view)

Binds views in the content View of the dialog to data.

Inherited methods

From class android.support.v14.preference.PreferenceDialogFragment
From class android.app.DialogFragment
From class android.app.Fragment
From class java.lang.Object
From interface android.content.DialogInterface.OnClickListener
From interface android.content.DialogInterface.OnCancelListener
From interface android.content.DialogInterface.OnDismissListener
From interface android.content.ComponentCallbacks2
From interface android.view.View.OnCreateContextMenuListener
From interface android.content.ComponentCallbacks

Public constructors

EditTextPreferenceDialogFragment

added in version 24.1.0
EditTextPreferenceDialogFragment ()

Public methods

newInstance

added in version 24.1.0
EditTextPreferenceDialogFragment newInstance (String key)

Parameters
key String

Returns
EditTextPreferenceDialogFragment

onCreate

void onCreate (Bundle savedInstanceState)

Parameters
savedInstanceState Bundle

onDialogClosed

added in version 24.1.0
void onDialogClosed (boolean positiveResult)

Parameters
positiveResult boolean

onSaveInstanceState

void onSaveInstanceState (Bundle outState)

Parameters
outState Bundle

Protected methods

onBindDialogView

added in version 24.1.0
void onBindDialogView (View view)

Binds views in the content View of the dialog to data.

Make sure to call through to the superclass implementation.

Parameters
view View: The content View of the dialog, if it is custom.

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (Dec 2017 Android Platform & Tools Survey)