Trait

org.scaloid.common

SActivity

Related Doc: package common

Permalink

trait SActivity extends Activity with SContext with TraitActivity[SActivity] with Destroyable with Creatable with Registerable

Enriched trait for the class android.app.Activity. To enable Scaloid, inherit this trait instead of the class Activity.

SActivity has shortcut methods for each lifecycle stages. These methods shorten the method overriding, which is very frequent for activity classes.

For example, instead of this:

override def onCreate(b: Bundle) {
  super.onCreate(b)
  // do something for onCreate
}

The equivalent is:

onCreate {
  // do something for onCreate
}

or

onCreate(doSomething())

If the Bundle is needed in the onCreate call to restore saved state, a function can be supplied which accepts Option[Bundle]:

onCreate { ob: Option[Bundle] =>
  // do something for onCreate
  ob.foreach { b =>
    // do things if bundle was defined at onCreate time
  }
}

In contrast of method overriding, this shortcut can be called multiple times from different places of your code.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SActivity
  2. Registerable
  3. Creatable
  4. Destroyable
  5. TraitActivity
  6. SContext
  7. TagUtil
  8. TraitContext
  9. Activity
  10. ComponentCallbacks2
  11. ComponentCallbacks
  12. OnCreateContextMenuListener
  13. Callback
  14. Callback
  15. Factory2
  16. Factory
  17. ContextThemeWrapper
  18. ContextWrapper
  19. Context
  20. AnyRef
  21. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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. def addContentView(arg0: View, arg1: LayoutParams): Unit

    Permalink
    Definition Classes
    Activity
  5. def applicationContext: Context

    Permalink

    Shortcut for getApplicationContext()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  6. def applicationInfo: ApplicationInfo

    Permalink

    Shortcut for getApplicationInfo()

    Shortcut for getApplicationInfo()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def assets: AssetManager

    Permalink

    Shortcut for getAssets()

    Shortcut for getAssets()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  9. def attachBaseContext(arg0: Context): Unit

    Permalink
    Attributes
    protected[android.view]
    Definition Classes
    ContextThemeWrapper → ContextWrapper
  10. def basis: SActivity

    Permalink
    Definition Classes
    SActivityTraitActivitySContextTraitContext
  11. def bindService[T](p1: ServiceConnection, p2: Int)(implicit arg0: ClassTag[T], context: Context): Boolean

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  12. def bindService(arg0: Intent, arg1: ServiceConnection, arg2: Int): Boolean

    Permalink
    Definition Classes
    ContextWrapper → Context
  13. def cacheDir: File

    Permalink

    Shortcut for getCacheDir()

    Shortcut for getCacheDir()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  14. def checkCallingOrSelfPermission(arg0: String): Int

    Permalink
    Definition Classes
    ContextWrapper → Context
  15. def checkCallingOrSelfUriPermission(arg0: Uri, arg1: Int): Int

    Permalink
    Definition Classes
    ContextWrapper → Context
  16. def checkCallingPermission(arg0: String): Int

    Permalink
    Definition Classes
    ContextWrapper → Context
  17. def checkCallingUriPermission(arg0: Uri, arg1: Int): Int

    Permalink
    Definition Classes
    ContextWrapper → Context
  18. def checkPermission(arg0: String, arg1: Int, arg2: Int): Int

    Permalink
    Definition Classes
    ContextWrapper → Context
  19. def checkUriPermission(arg0: Uri, arg1: String, arg2: String, arg3: Int, arg4: Int, arg5: Int): Int

    Permalink
    Definition Classes
    ContextWrapper → Context
  20. def checkUriPermission(arg0: Uri, arg1: Int, arg2: Int, arg3: Int): Int

    Permalink
    Definition Classes
    ContextWrapper → Context
  21. def classLoader: ClassLoader

    Permalink

    Shortcut for getClassLoader()

    Shortcut for getClassLoader()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  22. def clearWallpaper(): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
    Annotations
    @throws( classOf[java.io.IOException] )
  23. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def closeContextMenu(): Unit

    Permalink
    Definition Classes
    Activity
  25. def closeOptionsMenu(): Unit

    Permalink
    Definition Classes
    Activity
  26. def contentResolver: ContentResolver

    Permalink

    Shortcut for getContentResolver()

    Shortcut for getContentResolver()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  27. def contentView(implicit no: NoGetterForThisProperty): Nothing

    Permalink
    Definition Classes
    TraitActivity
    Annotations
    @inline()
  28. def contentView(p: View): Activity

    Permalink
    Definition Classes
    TraitActivity
    Annotations
    @inline()
  29. def contentView_=(p: View): Activity

    Permalink
    Definition Classes
    TraitActivity
    Annotations
    @inline()
  30. def createPackageContext(arg0: String, arg1: Int): Context

    Permalink
    Definition Classes
    ContextWrapper → Context
    Annotations
    @throws( ... )
  31. def createPendingResult(arg0: Int, arg1: Intent, arg2: Int): PendingIntent

    Permalink
    Definition Classes
    Activity
  32. implicit val ctx: SActivity

    Permalink
    Definition Classes
    SActivityTraitContext
  33. def databaseList(): Array[String]

    Permalink
    Definition Classes
    ContextWrapper → Context
  34. def deleteDatabase(arg0: String): Boolean

    Permalink
    Definition Classes
    ContextWrapper → Context
  35. def deleteFile(arg0: String): Boolean

    Permalink
    Definition Classes
    ContextWrapper → Context
  36. def dispatchGenericMotionEvent(arg0: MotionEvent): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  37. def dispatchKeyEvent(arg0: KeyEvent): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  38. def dispatchKeyShortcutEvent(arg0: KeyEvent): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  39. def dispatchPopulateAccessibilityEvent(arg0: AccessibilityEvent): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  40. def dispatchTouchEvent(arg0: MotionEvent): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  41. def dispatchTrackballEvent(arg0: MotionEvent): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  42. def dump(arg0: String, arg1: FileDescriptor, arg2: PrintWriter, arg3: Array[String]): Unit

    Permalink
    Definition Classes
    Activity
  43. def enforceCallingOrSelfPermission(arg0: String, arg1: String): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  44. def enforceCallingOrSelfUriPermission(arg0: Uri, arg1: Int, arg2: String): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  45. def enforceCallingPermission(arg0: String, arg1: String): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  46. def enforceCallingUriPermission(arg0: Uri, arg1: Int, arg2: String): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  47. def enforcePermission(arg0: String, arg1: Int, arg2: Int, arg3: String): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  48. def enforceUriPermission(arg0: Uri, arg1: String, arg2: String, arg3: Int, arg4: Int, arg5: Int, arg6: String): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  49. def enforceUriPermission(arg0: Uri, arg1: Int, arg2: Int, arg3: Int, arg4: String): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  50. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  52. def externalCacheDir: File

    Permalink

    Shortcut for getExternalCacheDir()

    Shortcut for getExternalCacheDir()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  53. def fileList(): Array[String]

    Permalink
    Definition Classes
    ContextWrapper → Context
  54. def filesDir: File

    Permalink

    Shortcut for getFilesDir()

    Shortcut for getFilesDir()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  55. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  56. def find[V <: View](id: Int): V

    Permalink
    Definition Classes
    TraitActivity
  57. def findViewById(arg0: Int): View

    Permalink
    Definition Classes
    Activity
  58. def finish(): Unit

    Permalink
    Definition Classes
    Activity
  59. def finishActivity(arg0: Int): Unit

    Permalink
    Definition Classes
    Activity
  60. def finishActivityFromChild(arg0: Activity, arg1: Int): Unit

    Permalink
    Definition Classes
    Activity
  61. def finishAffinity(): Unit

    Permalink
    Definition Classes
    Activity
  62. def finishFromChild(arg0: Activity): Unit

    Permalink
    Definition Classes
    Activity
  63. def getActionBar(): ActionBar

    Permalink
    Definition Classes
    Activity
  64. final def getApplication(): Application

    Permalink
    Definition Classes
    Activity
  65. def getApplicationContext(): Context

    Permalink
    Definition Classes
    ContextWrapper → Context
  66. def getApplicationInfo(): ApplicationInfo

    Permalink
    Definition Classes
    ContextWrapper → Context
  67. def getAssets(): AssetManager

    Permalink
    Definition Classes
    ContextWrapper → Context
  68. def getBaseContext(): Context

    Permalink
    Definition Classes
    ContextWrapper
  69. def getCacheDir(): File

    Permalink
    Definition Classes
    ContextWrapper → Context
  70. def getCallingActivity(): ComponentName

    Permalink
    Definition Classes
    Activity
  71. def getCallingPackage(): String

    Permalink
    Definition Classes
    Activity
  72. def getChangingConfigurations(): Int

    Permalink
    Definition Classes
    Activity
  73. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  74. def getClassLoader(): ClassLoader

    Permalink
    Definition Classes
    ContextWrapper → Context
  75. def getComponentName(): ComponentName

    Permalink
    Definition Classes
    Activity
  76. def getContentResolver(): ContentResolver

    Permalink
    Definition Classes
    ContextWrapper → Context
  77. def getCurrentFocus(): View

    Permalink
    Definition Classes
    Activity
  78. def getDatabasePath(arg0: String): File

    Permalink
    Definition Classes
    ContextWrapper → Context
  79. def getDir(arg0: String, arg1: Int): File

    Permalink
    Definition Classes
    ContextWrapper → Context
  80. def getExternalCacheDir(): File

    Permalink
    Definition Classes
    ContextWrapper → Context
  81. def getExternalFilesDir(arg0: String): File

    Permalink
    Definition Classes
    ContextWrapper → Context
  82. def getFileStreamPath(arg0: String): File

    Permalink
    Definition Classes
    ContextWrapper → Context
  83. def getFilesDir(): File

    Permalink
    Definition Classes
    ContextWrapper → Context
  84. def getFragmentManager(): FragmentManager

    Permalink
    Definition Classes
    Activity
  85. def getIntent(): Intent

    Permalink
    Definition Classes
    Activity
  86. def getLayoutInflater(): LayoutInflater

    Permalink
    Definition Classes
    Activity
  87. def getLoaderManager(): LoaderManager

    Permalink
    Definition Classes
    Activity
  88. def getLocalClassName(): String

    Permalink
    Definition Classes
    Activity
  89. def getMainLooper(): Looper

    Permalink
    Definition Classes
    ContextWrapper → Context
  90. def getMenuInflater(): MenuInflater

    Permalink
    Definition Classes
    Activity
  91. def getObbDir(): File

    Permalink
    Definition Classes
    ContextWrapper → Context
  92. def getPackageCodePath(): String

    Permalink
    Definition Classes
    ContextWrapper → Context
  93. def getPackageManager(): PackageManager

    Permalink
    Definition Classes
    ContextWrapper → Context
  94. def getPackageName(): String

    Permalink
    Definition Classes
    ContextWrapper → Context
  95. def getPackageResourcePath(): String

    Permalink
    Definition Classes
    ContextWrapper → Context
  96. final def getParent(): Activity

    Permalink
    Definition Classes
    Activity
  97. def getParentActivityIntent(): Intent

    Permalink
    Definition Classes
    Activity
  98. def getPreferences(arg0: Int): SharedPreferences

    Permalink
    Definition Classes
    Activity
  99. def getRequestedOrientation(): Int

    Permalink
    Definition Classes
    Activity
  100. def getResources(): Resources

    Permalink
    Definition Classes
    ContextWrapper → Context
  101. def getSharedPreferences(arg0: String, arg1: Int): SharedPreferences

    Permalink
    Definition Classes
    ContextWrapper → Context
  102. final def getString(arg0: Int, arg1: <repeated...>[AnyRef]): String

    Permalink
    Definition Classes
    Context
  103. final def getString(arg0: Int): String

    Permalink
    Definition Classes
    Context
  104. def getSystemService(arg0: String): AnyRef

    Permalink
    Definition Classes
    Activity → ContextThemeWrapper → ContextWrapper → Context
  105. def getTaskId(): Int

    Permalink
    Definition Classes
    Activity
  106. final def getText(arg0: Int): CharSequence

    Permalink
    Definition Classes
    Context
  107. def getTheme(): Theme

    Permalink
    Definition Classes
    ContextThemeWrapper → ContextWrapper → Context
  108. final def getTitle(): CharSequence

    Permalink
    Definition Classes
    Activity
  109. final def getTitleColor(): Int

    Permalink
    Definition Classes
    Activity
  110. final def getVolumeControlStream(): Int

    Permalink
    Definition Classes
    Activity
  111. def getWallpaper(): Drawable

    Permalink
    Definition Classes
    ContextWrapper → Context
  112. def getWallpaperDesiredMinimumHeight(): Int

    Permalink
    Definition Classes
    ContextWrapper → Context
  113. def getWallpaperDesiredMinimumWidth(): Int

    Permalink
    Definition Classes
    ContextWrapper → Context
  114. def getWindow(): Window

    Permalink
    Definition Classes
    Activity
  115. def getWindowManager(): WindowManager

    Permalink
    Definition Classes
    Activity
  116. def grantUriPermission(arg0: String, arg1: Uri, arg2: Int): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  117. def hasWindowFocus(): Boolean

    Permalink
    Definition Classes
    Activity
  118. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  119. def intent: Some[Intent]

    Permalink
    Definition Classes
    TraitActivity
  120. def invalidateOptionsMenu(): Unit

    Permalink
    Definition Classes
    Activity
  121. def isChangingConfigurations(): Boolean

    Permalink
    Definition Classes
    Activity
  122. final def isChild(): Boolean

    Permalink
    Definition Classes
    Activity
  123. def isFinishing(): Boolean

    Permalink
    Definition Classes
    Activity
  124. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  125. def isRestricted(): Boolean

    Permalink
    Definition Classes
    ContextWrapper → Context
  126. def isTaskRoot(): Boolean

    Permalink
    Definition Classes
    Activity
  127. implicit val loggerTag: LoggerTag

    Permalink
    Definition Classes
    TagUtil
  128. def mainLooper: Looper

    Permalink

    Shortcut for getMainLooper()

    Shortcut for getMainLooper()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  129. def moveTaskToBack(arg0: Boolean): Boolean

    Permalink
    Definition Classes
    Activity
  130. def navigateUpTo(arg0: Intent): Boolean

    Permalink
    Definition Classes
    Activity
  131. def navigateUpToFromChild(arg0: Activity, arg1: Intent): Boolean

    Permalink
    Definition Classes
    Activity
  132. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  135. def obbDir: File

    Permalink

    Shortcut for getObbDir()

    Shortcut for getObbDir()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  136. final def obtainStyledAttributes(arg0: AttributeSet, arg1: Array[Int], arg2: Int, arg3: Int): TypedArray

    Permalink
    Definition Classes
    Context
  137. final def obtainStyledAttributes(arg0: AttributeSet, arg1: Array[Int]): TypedArray

    Permalink
    Definition Classes
    Context
  138. final def obtainStyledAttributes(arg0: Int, arg1: Array[Int]): TypedArray

    Permalink
    Definition Classes
    Context
    Annotations
    @throws( ... )
  139. final def obtainStyledAttributes(arg0: Array[Int]): TypedArray

    Permalink
    Definition Classes
    Context
  140. def onActionModeFinished(arg0: ActionMode): Unit

    Permalink
    Definition Classes
    Activity → Callback
  141. def onActionModeStarted(arg0: ActionMode): Unit

    Permalink
    Definition Classes
    Activity → Callback
  142. def onActivityResult(arg0: Int, arg1: Int, arg2: Intent): Unit

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity
  143. def onApplyThemeResource(arg0: Theme, arg1: Int, arg2: Boolean): Unit

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity → ContextThemeWrapper
  144. def onAttachFragment(arg0: Fragment): Unit

    Permalink
    Definition Classes
    Activity
  145. def onAttachedToWindow(): Unit

    Permalink
    Definition Classes
    Activity → Callback
  146. def onBackPressed(): Unit

    Permalink
    Definition Classes
    Activity
  147. def onChildTitleChanged(arg0: Activity, arg1: CharSequence): Unit

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity
  148. def onConfigurationChanged(arg0: Configuration): Unit

    Permalink
    Definition Classes
    Activity → ComponentCallbacks
  149. def onContentChanged(): Unit

    Permalink
    Definition Classes
    Activity → Callback
  150. def onContextItemSelected(arg0: MenuItem): Boolean

    Permalink
    Definition Classes
    Activity
  151. def onContextMenuClosed(arg0: Menu): Unit

    Permalink
    Definition Classes
    Activity
  152. def onCreate(body: (Option[Bundle]) ⇒ Any): () ⇒ Any

    Permalink
  153. def onCreate(b: Bundle): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SActivity → Activity
  154. def onCreate(body: ⇒ Any): () ⇒ Any

    Permalink
    Definition Classes
    Creatable
  155. var onCreateBodies: Vector[() ⇒ Any]

    Permalink
    Attributes
    protected
    Definition Classes
    Creatable
  156. def onCreateContextMenu(arg0: ContextMenu, arg1: View, arg2: ContextMenuInfo): Unit

    Permalink
    Definition Classes
    Activity → OnCreateContextMenuListener
  157. def onCreateDescription(): CharSequence

    Permalink
    Definition Classes
    Activity
  158. val onCreateDestroy: Registerable

    Permalink
  159. def onCreateNavigateUpTaskStack(arg0: TaskStackBuilder): Unit

    Permalink
    Definition Classes
    Activity
  160. def onCreateOptionsMenu(arg0: Menu): Boolean

    Permalink
    Definition Classes
    Activity
  161. def onCreatePanelMenu(arg0: Int, arg1: Menu): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  162. def onCreatePanelView(arg0: Int): View

    Permalink
    Definition Classes
    Activity → Callback
  163. def onCreateThumbnail(arg0: Bitmap, arg1: Canvas): Boolean

    Permalink
    Definition Classes
    Activity
  164. def onCreateView(arg0: View, arg1: String, arg2: Context, arg3: AttributeSet): View

    Permalink
    Definition Classes
    Activity → Factory2
  165. def onCreateView(arg0: String, arg1: Context, arg2: AttributeSet): View

    Permalink
    Definition Classes
    Activity → Factory
  166. def onDestroy(): Unit

    Permalink
    Definition Classes
    SActivity → Activity
  167. def onDestroy(body: ⇒ Any): () ⇒ Any

    Permalink
    Definition Classes
    Destroyable
  168. var onDestroyBodies: Vector[() ⇒ Any]

    Permalink
    Attributes
    protected
    Definition Classes
    Destroyable
  169. def onDetachedFromWindow(): Unit

    Permalink
    Definition Classes
    Activity → Callback
  170. def onGenericMotionEvent(arg0: MotionEvent): Boolean

    Permalink
    Definition Classes
    Activity
  171. def onKeyDown(arg0: Int, arg1: KeyEvent): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  172. def onKeyLongPress(arg0: Int, arg1: KeyEvent): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  173. def onKeyMultiple(arg0: Int, arg1: Int, arg2: KeyEvent): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  174. def onKeyShortcut(arg0: Int, arg1: KeyEvent): Boolean

    Permalink
    Definition Classes
    Activity
  175. def onKeyUp(arg0: Int, arg1: KeyEvent): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  176. def onLowMemory(): Unit

    Permalink
    Definition Classes
    Activity → ComponentCallbacks
  177. def onMenuItemSelected(arg0: Int, arg1: MenuItem): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  178. def onMenuOpened(arg0: Int, arg1: Menu): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  179. def onNavigateUp(): Boolean

    Permalink
    Definition Classes
    Activity
  180. def onNavigateUpFromChild(arg0: Activity): Boolean

    Permalink
    Definition Classes
    Activity
  181. def onNewIntent(arg0: Intent): Unit

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity
  182. def onOptionsItemSelected(arg0: MenuItem): Boolean

    Permalink
    Definition Classes
    Activity
  183. def onOptionsMenuClosed(arg0: Menu): Unit

    Permalink
    Definition Classes
    Activity
  184. def onPanelClosed(arg0: Int, arg1: Menu): Unit

    Permalink
    Definition Classes
    Activity → Callback
  185. def onPause(body: ⇒ Any): () ⇒ Any

    Permalink
  186. def onPause(): Unit

    Permalink
    Definition Classes
    SActivity → Activity
  187. var onPauseBodies: Vector[() ⇒ Any]

    Permalink
    Attributes
    protected
  188. def onPostCreate(arg0: Bundle): Unit

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity
  189. def onPostResume(): Unit

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity
  190. def onPrepareNavigateUpTaskStack(arg0: TaskStackBuilder): Unit

    Permalink
    Definition Classes
    Activity
  191. def onPrepareOptionsMenu(arg0: Menu): Boolean

    Permalink
    Definition Classes
    Activity
  192. def onPreparePanel(arg0: Int, arg1: View, arg2: Menu): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  193. def onRegister(body: ⇒ Any): () ⇒ Any

    Permalink
    Definition Classes
    SActivityRegisterable
  194. def onRestart(): Unit

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity
  195. def onRestoreInstanceState(arg0: Bundle): Unit

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity
  196. def onResume(body: ⇒ Any): () ⇒ Any

    Permalink
  197. def onResume(): Unit

    Permalink
    Definition Classes
    SActivity → Activity
  198. var onResumeBodies: Vector[() ⇒ Any]

    Permalink
    Attributes
    protected
  199. def onSaveInstanceState(arg0: Bundle): Unit

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity
  200. def onSearchRequested(): Boolean

    Permalink
    Definition Classes
    Activity → Callback
  201. def onStart(body: ⇒ Any): () ⇒ Any

    Permalink
  202. def onStart(): Unit

    Permalink
    Definition Classes
    SActivity → Activity
  203. var onStartBodies: Vector[() ⇒ Any]

    Permalink
    Attributes
    protected
  204. val onStartStop: Registerable

    Permalink
  205. def onStop(body: ⇒ Any): () ⇒ Any

    Permalink
  206. def onStop(): Unit

    Permalink
    Definition Classes
    SActivity → Activity
  207. var onStopBodies: Vector[() ⇒ Any]

    Permalink
    Attributes
    protected
  208. def onTitleChanged(arg0: CharSequence, arg1: Int): Unit

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity
  209. def onTouchEvent(arg0: MotionEvent): Boolean

    Permalink
    Definition Classes
    Activity
  210. def onTrackballEvent(arg0: MotionEvent): Boolean

    Permalink
    Definition Classes
    Activity
  211. def onTrimMemory(arg0: Int): Unit

    Permalink
    Definition Classes
    Activity → ComponentCallbacks2
  212. def onUnregister(body: ⇒ Any): () ⇒ Any

    Permalink
    Definition Classes
    SActivityRegisterable
  213. def onUserInteraction(): Unit

    Permalink
    Definition Classes
    Activity
  214. def onUserLeaveHint(): Unit

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity
  215. def onWindowAttributesChanged(arg0: LayoutParams): Unit

    Permalink
    Definition Classes
    Activity → Callback
  216. def onWindowFocusChanged(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Activity → Callback
  217. def onWindowStartingActionMode(arg0: Callback): ActionMode

    Permalink
    Definition Classes
    Activity → Callback
  218. def openContextMenu(arg0: View): Unit

    Permalink
    Definition Classes
    Activity
  219. def openFileInput(arg0: String): FileInputStream

    Permalink
    Definition Classes
    ContextWrapper → Context
    Annotations
    @throws( ... )
  220. def openFileOutput(arg0: String, arg1: Int): FileOutputStream

    Permalink
    Definition Classes
    ContextWrapper → Context
    Annotations
    @throws( ... )
  221. def openOptionsMenu(): Unit

    Permalink
    Definition Classes
    Activity
  222. def openOrCreateDatabase(arg0: String, arg1: Int, arg2: CursorFactory, arg3: DatabaseErrorHandler): SQLiteDatabase

    Permalink
    Definition Classes
    ContextWrapper → Context
  223. def openOrCreateDatabase(arg0: String, arg1: Int, arg2: CursorFactory): SQLiteDatabase

    Permalink
    Definition Classes
    ContextWrapper → Context
  224. def overridePendingTransition(arg0: Int, arg1: Int): Unit

    Permalink
    Definition Classes
    Activity
  225. def packageCodePath: String

    Permalink

    Shortcut for getPackageCodePath()

    Shortcut for getPackageCodePath()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  226. def packageManager: PackageManager

    Permalink

    Shortcut for getPackageManager()

    Shortcut for getPackageManager()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  227. def packageName: String

    Permalink

    Shortcut for getPackageName()

    Shortcut for getPackageName()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  228. def packageResourcePath: String

    Permalink

    Shortcut for getPackageResourcePath()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  229. def peekWallpaper(): Drawable

    Permalink
    Definition Classes
    ContextWrapper → Context
  230. def recreate(): Unit

    Permalink
    Definition Classes
    Activity
  231. def registerComponentCallbacks(arg0: ComponentCallbacks): Unit

    Permalink
    Definition Classes
    Context
  232. def registerForContextMenu(arg0: View): Unit

    Permalink
    Definition Classes
    Activity
  233. def registerReceiver(arg0: BroadcastReceiver, arg1: IntentFilter, arg2: String, arg3: Handler): Intent

    Permalink
    Definition Classes
    ContextWrapper → Context
  234. def registerReceiver(arg0: BroadcastReceiver, arg1: IntentFilter): Intent

    Permalink
    Definition Classes
    ContextWrapper → Context
  235. def removeStickyBroadcast[T](implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  236. def removeStickyBroadcast(arg0: Intent): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  237. final def requestWindowFeature(arg0: Int): Boolean

    Permalink
    Definition Classes
    Activity
  238. def resources: Resources

    Permalink

    Shortcut for getResources()

    Shortcut for getResources()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  239. def revokeUriPermission(arg0: Uri, arg1: Int): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  240. def runOnUiThread(f: ⇒ Unit): Unit

    Permalink
    Definition Classes
    TraitActivity
  241. final def runOnUiThread(arg0: Runnable): Unit

    Permalink
    Definition Classes
    Activity
  242. def sendBroadcast[T](p: String)(implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  243. def sendBroadcast[T](implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  244. def sendBroadcast(arg0: Intent, arg1: String): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  245. def sendBroadcast(arg0: Intent): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  246. def sendOrderedBroadcast[T](p1: String, p2: BroadcastReceiver, p3: Handler, p4: Int, p5: String, p6: Bundle)(implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  247. def sendOrderedBroadcast[T](p: String)(implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  248. def sendOrderedBroadcast(arg0: Intent, arg1: String, arg2: BroadcastReceiver, arg3: Handler, arg4: Int, arg5: String, arg6: Bundle): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  249. def sendOrderedBroadcast(arg0: Intent, arg1: String): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  250. def sendStickyBroadcast[T](implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  251. def sendStickyBroadcast(arg0: Intent): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  252. def sendStickyOrderedBroadcast[T](p1: BroadcastReceiver, p2: Handler, p3: Int, p4: String, p5: Bundle)(implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  253. def sendStickyOrderedBroadcast(arg0: Intent, arg1: BroadcastReceiver, arg2: Handler, arg3: Int, arg4: String, arg5: Bundle): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  254. def setContentView(arg0: View, arg1: LayoutParams): Unit

    Permalink
    Definition Classes
    Activity
  255. def setContentView(arg0: View): Unit

    Permalink
    Definition Classes
    Activity
  256. def setContentView(arg0: Int): Unit

    Permalink
    Definition Classes
    Activity
  257. final def setDefaultKeyMode(arg0: Int): Unit

    Permalink
    Definition Classes
    Activity
  258. final def setFeatureDrawable(arg0: Int, arg1: Drawable): Unit

    Permalink
    Definition Classes
    Activity
  259. final def setFeatureDrawableAlpha(arg0: Int, arg1: Int): Unit

    Permalink
    Definition Classes
    Activity
  260. final def setFeatureDrawableResource(arg0: Int, arg1: Int): Unit

    Permalink
    Definition Classes
    Activity
  261. final def setFeatureDrawableUri(arg0: Int, arg1: Uri): Unit

    Permalink
    Definition Classes
    Activity
  262. def setFinishOnTouchOutside(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Activity
  263. def setIntent(arg0: Intent): Unit

    Permalink
    Definition Classes
    Activity
  264. final def setProgress(arg0: Int): Unit

    Permalink
    Definition Classes
    Activity
  265. final def setProgressBarIndeterminate(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Activity
  266. final def setProgressBarIndeterminateVisibility(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Activity
  267. final def setProgressBarVisibility(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Activity
  268. def setRequestedOrientation(arg0: Int): Unit

    Permalink
    Definition Classes
    Activity
  269. final def setResult(arg0: Int, arg1: Intent): Unit

    Permalink
    Definition Classes
    Activity
  270. final def setResult(arg0: Int): Unit

    Permalink
    Definition Classes
    Activity
  271. final def setSecondaryProgress(arg0: Int): Unit

    Permalink
    Definition Classes
    Activity
  272. def setTheme(arg0: Int): Unit

    Permalink
    Definition Classes
    ContextThemeWrapper → ContextWrapper → Context
  273. def setTitle(arg0: Int): Unit

    Permalink
    Definition Classes
    Activity
  274. def setTitle(arg0: CharSequence): Unit

    Permalink
    Definition Classes
    Activity
  275. def setTitleColor(arg0: Int): Unit

    Permalink
    Definition Classes
    Activity
  276. def setVisible(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Activity
  277. final def setVolumeControlStream(arg0: Int): Unit

    Permalink
    Definition Classes
    Activity
  278. def setWallpaper(arg0: InputStream): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
    Annotations
    @throws( classOf[java.io.IOException] )
  279. def setWallpaper(arg0: Bitmap): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
    Annotations
    @throws( classOf[java.io.IOException] )
  280. def shouldUpRecreateTask(arg0: Intent): Boolean

    Permalink
    Definition Classes
    Activity
  281. def startActionMode(arg0: Callback): ActionMode

    Permalink
    Definition Classes
    Activity
  282. def startActivities(arg0: Array[Intent], arg1: Bundle): Unit

    Permalink
    Definition Classes
    Activity → ContextWrapper → Context
  283. def startActivities(arg0: Array[Intent]): Unit

    Permalink
    Definition Classes
    Activity → ContextWrapper → Context
  284. def startActivity[T](p: Bundle)(implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  285. def startActivity[T](implicit arg0: ClassTag[T], context: Context): Unit

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  286. def startActivity(arg0: Intent, arg1: Bundle): Unit

    Permalink
    Definition Classes
    Activity → ContextWrapper → Context
  287. def startActivity(arg0: Intent): Unit

    Permalink
    Definition Classes
    Activity → ContextWrapper → Context
  288. def startActivityForResult(arg0: Intent, arg1: Int, arg2: Bundle): Unit

    Permalink
    Definition Classes
    Activity
  289. def startActivityForResult(arg0: Intent, arg1: Int): Unit

    Permalink
    Definition Classes
    Activity
  290. def startActivityFromChild(arg0: Activity, arg1: Intent, arg2: Int, arg3: Bundle): Unit

    Permalink
    Definition Classes
    Activity
  291. def startActivityFromChild(arg0: Activity, arg1: Intent, arg2: Int): Unit

    Permalink
    Definition Classes
    Activity
  292. def startActivityFromFragment(arg0: Fragment, arg1: Intent, arg2: Int, arg3: Bundle): Unit

    Permalink
    Definition Classes
    Activity
  293. def startActivityFromFragment(arg0: Fragment, arg1: Intent, arg2: Int): Unit

    Permalink
    Definition Classes
    Activity
  294. def startActivityIfNeeded(arg0: Intent, arg1: Int, arg2: Bundle): Boolean

    Permalink
    Definition Classes
    Activity
  295. def startActivityIfNeeded(arg0: Intent, arg1: Int): Boolean

    Permalink
    Definition Classes
    Activity
  296. def startInstrumentation(arg0: ComponentName, arg1: String, arg2: Bundle): Boolean

    Permalink
    Definition Classes
    ContextWrapper → Context
  297. def startIntentSender(arg0: IntentSender, arg1: Intent, arg2: Int, arg3: Int, arg4: Int, arg5: Bundle): Unit

    Permalink
    Definition Classes
    Activity → ContextWrapper → Context
    Annotations
    @throws( ... )
  298. def startIntentSender(arg0: IntentSender, arg1: Intent, arg2: Int, arg3: Int, arg4: Int): Unit

    Permalink
    Definition Classes
    Activity → ContextWrapper → Context
    Annotations
    @throws( ... )
  299. def startIntentSenderForResult(arg0: IntentSender, arg1: Int, arg2: Intent, arg3: Int, arg4: Int, arg5: Int, arg6: Bundle): Unit

    Permalink
    Definition Classes
    Activity
    Annotations
    @throws( ... )
  300. def startIntentSenderForResult(arg0: IntentSender, arg1: Int, arg2: Intent, arg3: Int, arg4: Int, arg5: Int): Unit

    Permalink
    Definition Classes
    Activity
    Annotations
    @throws( ... )
  301. def startIntentSenderFromChild(arg0: Activity, arg1: IntentSender, arg2: Int, arg3: Intent, arg4: Int, arg5: Int, arg6: Int, arg7: Bundle): Unit

    Permalink
    Definition Classes
    Activity
    Annotations
    @throws( ... )
  302. def startIntentSenderFromChild(arg0: Activity, arg1: IntentSender, arg2: Int, arg3: Intent, arg4: Int, arg5: Int, arg6: Int): Unit

    Permalink
    Definition Classes
    Activity
    Annotations
    @throws( ... )
  303. def startNextMatchingActivity(arg0: Intent, arg1: Bundle): Boolean

    Permalink
    Definition Classes
    Activity
  304. def startNextMatchingActivity(arg0: Intent): Boolean

    Permalink
    Definition Classes
    Activity
  305. def startSearch(arg0: String, arg1: Boolean, arg2: Bundle, arg3: Boolean): Unit

    Permalink
    Definition Classes
    Activity
  306. def startService[T](implicit arg0: ClassTag[T], context: Context): ComponentName

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  307. def startService(arg0: Intent): ComponentName

    Permalink
    Definition Classes
    ContextWrapper → Context
  308. def stopService[T](implicit arg0: ClassTag[T], context: Context): Boolean

    Permalink
    Definition Classes
    TraitContext
    Annotations
    @inline()
  309. def stopService(arg0: Intent): Boolean

    Permalink
    Definition Classes
    ContextWrapper → Context
  310. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  311. def takeKeyEvents(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Activity
  312. def theme(p: Int): SContext

    Permalink

    Shortcut for setTheme(int)

    Shortcut for setTheme(int)

    Definition Classes
    TraitContext
    Annotations
    @inline()
  313. def theme: Theme

    Permalink

    Shortcut for getTheme()

    Shortcut for getTheme()

    Definition Classes
    TraitContext
    Annotations
    @inline()
  314. def theme_=(p: Int): SContext

    Permalink

    Shortcut for setTheme(int)

    Shortcut for setTheme(int)

    Definition Classes
    TraitContext
    Annotations
    @inline()
  315. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  316. def triggerSearch(arg0: String, arg1: Bundle): Unit

    Permalink
    Definition Classes
    Activity
  317. def unbindService(arg0: ServiceConnection): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  318. def unregisterComponentCallbacks(arg0: ComponentCallbacks): Unit

    Permalink
    Definition Classes
    Context
  319. def unregisterForContextMenu(arg0: View): Unit

    Permalink
    Definition Classes
    Activity
  320. def unregisterReceiver(arg0: BroadcastReceiver): Unit

    Permalink
    Definition Classes
    ContextWrapper → Context
  321. final def wait(): Unit

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

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

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

Deprecated Value Members

  1. final def dismissDialog(arg0: Int): Unit

    Permalink
    Definition Classes
    Activity
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def getLastNonConfigurationInstance(): AnyRef

    Permalink
    Definition Classes
    Activity
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. final def managedQuery(arg0: Uri, arg1: Array[String], arg2: String, arg3: Array[String], arg4: String): Cursor

    Permalink
    Definition Classes
    Activity
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  4. def onCreateDialog(arg0: Int, arg1: Bundle): Dialog

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  5. def onCreateDialog(arg0: Int): Dialog

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  6. def onPrepareDialog(arg0: Int, arg1: Dialog, arg2: Bundle): Unit

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  7. def onPrepareDialog(arg0: Int, arg1: Dialog): Unit

    Permalink
    Attributes
    protected[android.app]
    Definition Classes
    Activity
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  8. def onRetainNonConfigurationInstance(): AnyRef

    Permalink
    Definition Classes
    Activity
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  9. final def removeDialog(arg0: Int): Unit

    Permalink
    Definition Classes
    Activity
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  10. final def showDialog(arg0: Int, arg1: Bundle): Boolean

    Permalink
    Definition Classes
    Activity
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  11. final def showDialog(arg0: Int): Unit

    Permalink
    Definition Classes
    Activity
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  12. def startManagingCursor(arg0: Cursor): Unit

    Permalink
    Definition Classes
    Activity
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  13. def stopManagingCursor(arg0: Cursor): Unit

    Permalink
    Definition Classes
    Activity
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  14. def wallpaper(p: InputStream): SContext

    Permalink

    Shortcut for setWallpaper(java.io.InputStream)

    Definition Classes
    TraitContext
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version )

  15. def wallpaper(p: Bitmap): SContext

    Permalink

    Shortcut for setWallpaper(android.graphics.Bitmap)

    Definition Classes
    TraitContext
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version )

  16. def wallpaper: Drawable

    Permalink

    Shortcut for getWallpaper()

    Shortcut for getWallpaper()

    Definition Classes
    TraitContext
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version )

  17. def wallpaperDesiredMinimumHeight: Int

    Permalink

    Shortcut for getWallpaperDesiredMinimumHeight()

    Definition Classes
    TraitContext
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version )

  18. def wallpaperDesiredMinimumWidth: Int

    Permalink

    Shortcut for getWallpaperDesiredMinimumWidth()

    Definition Classes
    TraitContext
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version )

  19. def wallpaper_=(p: InputStream): SContext

    Permalink

    Shortcut for setWallpaper(java.io.InputStream)

    Definition Classes
    TraitContext
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version )

  20. def wallpaper_=(p: Bitmap): SContext

    Permalink

    Shortcut for setWallpaper(android.graphics.Bitmap)

    Definition Classes
    TraitContext
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version )

Inherited from Registerable

Inherited from Creatable

Inherited from Destroyable

Inherited from TraitActivity[SActivity]

Inherited from SContext

Inherited from TagUtil

Inherited from TraitContext[SContext]

Inherited from Activity

Inherited from ComponentCallbacks2

Inherited from ComponentCallbacks

Inherited from OnCreateContextMenuListener

Inherited from Callback

Inherited from Callback

Inherited from Factory2

Inherited from Factory

Inherited from ContextThemeWrapper

Inherited from ContextWrapper

Inherited from Context

Inherited from AnyRef

Inherited from Any

Ungrouped