Preference

public class Preference
extends Object implements Comparable<Preference>

java.lang.Object
   ↳ androidx.preference.Preference


The basic building block that represents an individual setting displayed to a user in the preference hierarchy. This class provides the data that will be displayed to the user and has a reference to the SharedPreferences or