You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
494 B
14 lines
494 B
package androidx.preference; |
|
|
|
/** |
|
* A helper to attach a new {@link PreferenceManager} to a {@link Preference}. This class is in the {@code androidx.preference} package to hack |
|
* around the protected visibility of {@link Preference#onAttachedToHierarchy(PreferenceManager)}. |
|
*/ |
|
public class PreferenceManagerBinder { |
|
private PreferenceManagerBinder() { |
|
} |
|
|
|
public static void bind(Preference pref, PreferenceManager manager) { |
|
pref.onAttachedToHierarchy(manager); |
|
} |
|
}
|
|
|