DialogPreference.TargetFragment

public static interface DialogPreference.TargetFragment

androidx.preference.DialogPreference.TargetFragment


Interface for PreferenceFragmentCompats to implement to allow DialogPreferences to find the preference that launched the dialog.

Summary

Public methods

abstract Preference findPreference(CharSequence key)

Finds a Preference based on its key.

Public methods

findPreference

public abstract Preference findPreference (CharSequence key)

Finds a Preference based on its key.

Parameters
key CharSequence: The key of the preference to retrieve

Returns
Preference The Preference with the key, or null