EditTextPreferenceDialogFragment

Added in 1.0.0
Deprecated in 1.1.0

public class EditTextPreferenceDialogFragment extends PreferenceDialogFragment


Summary

Public constructors

This method is deprecated.

Use EditTextPreferenceDialogFragmentCompat instead

Public methods

static @NonNull EditTextPreferenceDialogFragment

This method is deprecated.

Use EditTextPreferenceDialogFragmentCompat instead

void
onCreate(@Nullable Bundle savedInstanceState)

This method is deprecated.

void
onDialogClosed(boolean positiveResult)

This method is deprecated.

Use EditTextPreferenceDialogFragmentCompat instead

void

This method is deprecated.

Protected methods

void

This method is deprecated.

Use PreferenceDialogFragmentCompat instead

Inherited Constants

From android.content.ComponentCallbacks2
static final int
static final int
static final int
static final int
static final int
static final int
static final int
From android.app.DialogFragment
static final int

This field is deprecated.

static final int

This field is deprecated.

static final int

This field is deprecated.

static final int

This field is deprecated.

From androidx.preference.PreferenceDialogFragment
static final String
ARG_KEY = "key"

This field is deprecated.

Use PreferenceDialogFragmentCompat instead

Inherited methods

From android.app.DialogFragment
void

This method is deprecated.

void

This method is deprecated.

void
dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args)

This method is deprecated.

Dialog

This method is deprecated.

boolean

This method is deprecated.

int

This method is deprecated.

boolean

This method is deprecated.

void
onActivityCreated(Bundle savedInstanceState)

This method is deprecated.

void
onAttach(Context context)

This method is deprecated.

void

This method is deprecated.

void
onCreate(Bundle savedInstanceState)

This method is deprecated.

Dialog
onCreateDialog(Bundle savedInstanceState)

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

LayoutInflater
onGetLayoutInflater(Bundle savedInstanceState)

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

void
setCancelable(boolean cancelable)

This method is deprecated.

void
setShowsDialog(boolean showsDialog)

This method is deprecated.

void
setStyle(int style, int theme)

This method is deprecated.

void
show(FragmentManager manager, String tag)

This method is deprecated.

int
show(FragmentTransaction transaction, String tag)

This method is deprecated.

From android.content.DialogInterface.OnClickListener
abstract void
onClick(DialogInterface p, int p1)
From android.app.Fragment
final boolean

This method is deprecated.

final Activity

This method is deprecated.

boolean

This method is deprecated.

boolean

This method is deprecated.

final Bundle

This method is deprecated.

final FragmentManager

This method is deprecated.

Context

This method is deprecated.

Transition

This method is deprecated.

Transition

This method is deprecated.

final FragmentManager

This method is deprecated.

final Object

This method is deprecated.

final int

This method is deprecated.

final LayoutInflater

This method is deprecated.

LoaderManager

This method is deprecated.

final Fragment

This method is deprecated.

Transition

This method is deprecated.

final Resources

This method is deprecated.

final boolean

This method is deprecated.

Transition

This method is deprecated.

Transition

This method is deprecated.

Transition

This method is deprecated.

final String
getString(int resId)

This method is deprecated.

final String

This method is deprecated.

final Fragment

This method is deprecated.

final int

This method is deprecated.

final CharSequence
getText(int resId)

This method is deprecated.

boolean

This method is deprecated.

View

This method is deprecated.

final int

This method is deprecated.

static Fragment
instantiate(Context context, String fname)

This method is deprecated.

final boolean

This method is deprecated.

final boolean

This method is deprecated.

final boolean

This method is deprecated.

final boolean

This method is deprecated.

final boolean

This method is deprecated.

final boolean

This method is deprecated.

final boolean

This method is deprecated.

final boolean

This method is deprecated.

void
onActivityResult(int requestCode, int resultCode, Intent data)

This method is deprecated.

void
onAttachFragment(Fragment childFragment)

This method is deprecated.

void

This method is deprecated.

boolean

This method is deprecated.

Animator
onCreateAnimator(int transit, boolean enter, int nextAnim)

This method is deprecated.

void
onCreateContextMenu(
    ContextMenu menu,
    View v,
    ContextMenu.ContextMenuInfo menuInfo
)

This method is deprecated.

void

This method is deprecated.

View
onCreateView(
    LayoutInflater inflater,
    ViewGroup container,
    Bundle savedInstanceState
)

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

void
onHiddenChanged(boolean hidden)

This method is deprecated.

void
onInflate(AttributeSet attrs, Bundle savedInstanceState)

This method is deprecated.

void

This method is deprecated.

void
onMultiWindowModeChanged(
    boolean isInMultiWindowMode,
    Configuration newConfig
)

This method is deprecated.

boolean

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

void
onPictureInPictureModeChanged(
    boolean isInPictureInPictureMode,
    Configuration newConfig
)

This method is deprecated.

void

This method is deprecated.

void
onRequestPermissionsResult(
    int requestCode,
    String[] permissions,
    int[] grantResults
)

This method is deprecated.

void

This method is deprecated.

void
onTrimMemory(int level)

This method is deprecated.

void
onViewCreated(View view, Bundle savedInstanceState)

This method is deprecated.

void
onViewStateRestored(Bundle savedInstanceState)

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

final void
requestPermissions(String[] permissions, int requestCode)

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

void
setHasOptionsMenu(boolean hasMenu)

This method is deprecated.

void

This method is deprecated.

void
setMenuVisibility(boolean menuVisible)

This method is deprecated.

void

This method is deprecated.

void
setRetainInstance(boolean retain)

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated.

void
setTargetFragment(Fragment fragment, int requestCode)

This method is deprecated.

void
setUserVisibleHint(boolean isVisibleToUser)

This method is deprecated.

boolean

This method is deprecated.

void

This method is deprecated.

void
startActivityForResult(Intent intent, int requestCode)

This method is deprecated.

void
startIntentSenderForResult(
    IntentSender intent,
    int requestCode,
    Intent fillInIntent,
    int flagsMask,
    int flagsValues,
    int extraFlags,
    Bundle options
)

This method is deprecated.

void

This method is deprecated.

String

This method is deprecated.

void

This method is deprecated.

From androidx.preference.PreferenceDialogFragment
DialogPreference

This method is deprecated.

Use PreferenceDialogFragmentCompat instead

void
onClick(@NonNull DialogInterface dialog, int which)

This method is deprecated.

Use PreferenceDialogFragmentCompat instead

@NonNull Dialog
onCreateDialog(@Nullable Bundle savedInstanceState)

This method is deprecated.

@Nullable View

This method is deprecated.

Use PreferenceDialogFragmentCompat instead

void

This method is deprecated.

void

This method is deprecated.

Use PreferenceDialogFragmentCompat instead

Public constructors

EditTextPreferenceDialogFragment

Added in 1.0.0
Deprecated in 1.1.0
public EditTextPreferenceDialogFragment()

Public methods

newInstance

Added in 1.0.0
Deprecated in 1.1.0
public static @NonNull EditTextPreferenceDialogFragment newInstance(String key)

onCreate

public void onCreate(@Nullable Bundle savedInstanceState)

onDialogClosed

Added in 1.3.0-alpha01
Deprecated in 1.3.0-alpha01
public void onDialogClosed(boolean positiveResult)

onSaveInstanceState

public void onSaveInstanceState(@NonNull Bundle outState)

Protected methods

onBindDialogView

Added in 1.3.0-alpha01
Deprecated in 1.3.0-alpha01
protected void onBindDialogView(@NonNull View view)

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

Make sure to call through to the superclass implementation.

Parameters
@NonNull View view

The content view of the dialog, if it is custom