Trait

be.mygod.preference

SummaryPreference

Related Doc: package preference

Permalink

trait SummaryPreference extends Preference

Make your preference support %s in summary. Override getSummaryValue to customize what to put in. Based on: https://github.com/android/platform_frameworks_base/blob/master/core/java/android/preference/ListPreference.java

Linear Supertypes
Preference, Comparable[Preference], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SummaryPreference
  2. Preference
  3. Comparable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getSummaryValue: AnyRef

    Permalink
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def callChangeListener(arg0: Any): Boolean

    Permalink
    Definition Classes
    Preference
  6. final def clearWasDetached(): Unit

    Permalink
    Definition Classes
    Preference
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def compareTo(arg0: Preference): Int

    Permalink
    Definition Classes
    Preference → Comparable
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def findPreferenceInHierarchy(arg0: String): Preference

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getContext(): Context

    Permalink
    Definition Classes
    Preference
  15. def getDependency(): String

    Permalink
    Definition Classes
    Preference
  16. def getExtras(): Bundle

    Permalink
    Definition Classes
    Preference
  17. def getFragment(): String

    Permalink
    Definition Classes
    Preference
  18. def getIcon(): Drawable

    Permalink
    Definition Classes
    Preference
  19. def getIntent(): Intent

    Permalink
    Definition Classes
    Preference
  20. def getKey(): String

    Permalink
    Definition Classes
    Preference
  21. final def getLayoutResource(): Int

    Permalink
    Definition Classes
    Preference
  22. def getOnPreferenceChangeListener(): OnPreferenceChangeListener

    Permalink
    Definition Classes
    Preference
  23. def getOnPreferenceClickListener(): OnPreferenceClickListener

    Permalink
    Definition Classes
    Preference
  24. def getOrder(): Int

    Permalink
    Definition Classes
    Preference
  25. def getPersistedBoolean(arg0: Boolean): Boolean

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  26. def getPersistedFloat(arg0: Float): Float

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  27. def getPersistedInt(arg0: Int): Int

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  28. def getPersistedLong(arg0: Long): Long

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  29. def getPersistedString(arg0: String): String

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  30. def getPreferenceManager(): PreferenceManager

    Permalink
    Definition Classes
    Preference
  31. def getSharedPreferences(): SharedPreferences

    Permalink
    Definition Classes
    Preference
  32. def getShouldDisableView(): Boolean

    Permalink
    Definition Classes
    Preference
  33. def getSummary(): String

    Permalink

    Returns the summary of this SummaryPreference.

    Returns the summary of this SummaryPreference. If the summary has a String formatting marker in it (i.e. "%s" or "%1$s"), then the current entry value will be substituted in its place.

    returns

    the summary with appropriate string substitution

    Definition Classes
    SummaryPreference → Preference
  34. def getTitle(): CharSequence

    Permalink
    Definition Classes
    Preference
  35. final def getWidgetLayoutResource(): Int

    Permalink
    Definition Classes
    Preference
  36. def hasKey(): Boolean

    Permalink
    Definition Classes
    Preference
  37. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  38. def isEnabled(): Boolean

    Permalink
    Definition Classes
    Preference
  39. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  40. def isPersistent(): Boolean

    Permalink
    Definition Classes
    Preference
  41. def isSelectable(): Boolean

    Permalink
    Definition Classes
    Preference
  42. final def isVisible(): Boolean

    Permalink
    Definition Classes
    Preference
  43. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  44. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  45. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  46. def notifyChanged(): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  47. def notifyDependencyChange(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  48. def notifyHierarchyChanged(): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  49. def onAttached(): Unit

    Permalink
    Definition Classes
    Preference
  50. def onAttachedToHierarchy(arg0: PreferenceManager, arg1: Long): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  51. def onAttachedToHierarchy(arg0: PreferenceManager): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  52. def onBindViewHolder(arg0: PreferenceViewHolder): Unit

    Permalink
    Definition Classes
    Preference
  53. def onClick(): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  54. def onDependencyChanged(arg0: Preference, arg1: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  55. def onDetached(): Unit

    Permalink
    Definition Classes
    Preference
  56. def onGetDefaultValue(arg0: TypedArray, arg1: Int): AnyRef

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  57. def onInitializeAccessibilityNodeInfo(arg0: AccessibilityNodeInfoCompat): Unit

    Permalink
    Definition Classes
    Preference
  58. def onParentChanged(arg0: Preference, arg1: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  59. def onPrepareForRemoval(): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  60. def onRestoreInstanceState(arg0: Parcelable): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  61. def onSaveInstanceState(): Parcelable

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  62. def onSetInitialValue(arg0: Boolean, arg1: Any): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  63. def peekExtras(): Bundle

    Permalink
    Definition Classes
    Preference
  64. def performClick(): Unit

    Permalink
    Definition Classes
    Preference
  65. def performClick(arg0: View): Unit

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  66. def persistBoolean(arg0: Boolean): Boolean

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  67. def persistFloat(arg0: Float): Boolean

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  68. def persistInt(arg0: Int): Boolean

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  69. def persistLong(arg0: Long): Boolean

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  70. def persistString(arg0: String): Boolean

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  71. def restoreHierarchyState(arg0: Bundle): Unit

    Permalink
    Definition Classes
    Preference
  72. def saveHierarchyState(arg0: Bundle): Unit

    Permalink
    Definition Classes
    Preference
  73. def setDefaultValue(arg0: Any): Unit

    Permalink
    Definition Classes
    Preference
  74. def setDependency(arg0: String): Unit

    Permalink
    Definition Classes
    Preference
  75. def setEnabled(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  76. def setFragment(arg0: String): Unit

    Permalink
    Definition Classes
    Preference
  77. def setIcon(arg0: Int): Unit

    Permalink
    Definition Classes
    Preference
  78. def setIcon(arg0: Drawable): Unit

    Permalink
    Definition Classes
    Preference
  79. def setIntent(arg0: Intent): Unit

    Permalink
    Definition Classes
    Preference
  80. def setKey(arg0: String): Unit

    Permalink
    Definition Classes
    Preference
  81. def setLayoutResource(arg0: Int): Unit

    Permalink
    Definition Classes
    Preference
  82. def setOnPreferenceChangeListener(arg0: OnPreferenceChangeListener): Unit

    Permalink
    Definition Classes
    Preference
  83. def setOnPreferenceClickListener(arg0: OnPreferenceClickListener): Unit

    Permalink
    Definition Classes
    Preference
  84. def setOrder(arg0: Int): Unit

    Permalink
    Definition Classes
    Preference
  85. def setPersistent(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  86. def setSelectable(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  87. def setShouldDisableView(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  88. def setSummary(arg0: Int): Unit

    Permalink
    Definition Classes
    Preference
  89. def setSummary(arg0: CharSequence): Unit

    Permalink
    Definition Classes
    Preference
  90. def setTitle(arg0: Int): Unit

    Permalink
    Definition Classes
    Preference
  91. def setTitle(arg0: CharSequence): Unit

    Permalink
    Definition Classes
    Preference
  92. def setViewId(arg0: Int): Unit

    Permalink
    Definition Classes
    Preference
  93. final def setVisible(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Preference
  94. def setWidgetLayoutResource(arg0: Int): Unit

    Permalink
    Definition Classes
    Preference
  95. def shouldDisableDependents(): Boolean

    Permalink
    Definition Classes
    Preference
  96. def shouldPersist(): Boolean

    Permalink
    Attributes
    protected[android.support.v7.preference]
    Definition Classes
    Preference
  97. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  98. def toString(): String

    Permalink
    Definition Classes
    Preference → AnyRef → Any
  99. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  100. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  101. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  102. final def wasDetached(): Boolean

    Permalink
    Definition Classes
    Preference

Inherited from Preference

Inherited from Comparable[Preference]

Inherited from AnyRef

Inherited from Any

Ungrouped