public interface

DialogPreference.TargetFragment

 androidx.preference.DialogPreference.TargetFragment

Subclasses:

LeanbackPreferenceFragmentCompat, BaseLeanbackPreferenceFragment, BaseLeanbackPreferenceFragmentCompat, LeanbackPreferenceFragment, PreferenceFragment, PreferenceFragmentCompat

Overview

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

Summary

Methods
public PreferencefindPreference(java.lang.CharSequence key)

Finds a Preference with the given key.

Methods

public Preference findPreference(java.lang.CharSequence key)

Finds a Preference with the given key. Returns null if no Preference could be found with the given key.

Parameters:

key: The key of the Preference to retrieve

Returns:

The Preference with the key, or null

See also: PreferenceGroup.findPreference(CharSequence)