lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 1.0.0
belongs to Maven artifact androidx.preference:preference:1.0.0

EditTextPreferenceDialogFragment

public class EditTextPreferenceDialogFragment
extends PreferenceDialogFragment

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


Summary

Inherited constants

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

Public constructors

EditTextPreferenceDialogFragment

added in version 1.0.0
public EditTextPreferenceDialogFragment ()

Public methods

newInstance

added in version 1.0.0
public static EditTextPreferenceDialogFragment newInstance (String key)

Parameters
key String

Returns
EditTextPreferenceDialogFragment

onCreate

public void onCreate (Bundle savedInstanceState)

Parameters
savedInstanceState Bundle

onDialogClosed

added in version 1.0.0
public void onDialogClosed (boolean positiveResult)

Parameters
positiveResult boolean

onSaveInstanceState

public void onSaveInstanceState (Bundle outState)

Parameters
outState Bundle

Protected methods

onBindDialogView

added in version 1.0.0
protected 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.