Class/Object

org.scaloid.common

Preferences

Related Docs: object Preferences | package common

Permalink

class Preferences extends Dynamic

An accessor of SharedPreferences.

val pref = Preferences
val ec = pref.executionCount(0)
pref.executionCount = ec + 1

Refer to the URL below for more details.

http://blog.scaloid.org/2013/03/dynamicly-accessing-sharedpreferences.html

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Preferences
  2. Dynamic
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Preferences(preferences: SharedPreferences)

    Permalink

Type Members

  1. abstract class TypedPreferences[T] extends Dynamic

    Permalink

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. val Boolean: TypedPreferences[Boolean]

    Permalink
  5. val Float: TypedPreferences[Float]

    Permalink
  6. val Int: TypedPreferences[Int]

    Permalink
  7. val Long: TypedPreferences[Long]

    Permalink
  8. val String: TypedPreferences[String]

    Permalink
  9. val StringSet: TypedPreferences[Set[String]]

    Permalink
  10. def applyDynamic[T](name: String)(defaultVal: T): T

    Permalink
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. val preferences: SharedPreferences

    Permalink
  23. def remove(name: String): Unit

    Permalink
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def updateDynamic(name: String)(value: Any): Unit

    Permalink
  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Dynamic

Inherited from AnyRef

Inherited from Any

Ungrouped