org.positronicnet.ui

PositronicActivityHelpers

trait PositronicActivityHelpers extends Activity

Mixin trait for android acitivities which provides extra hooks for integrated lifecycle management. Fortunately, these don't conflict with the native API because they're alternate overloadings. Also includes jQuery-style handler declarations for menu events, and similar conveniences.

NB the Scaladoc here is more readable if inherited methods are omitted, particularly as the inherited methods include the entire standard Activity API, when most likely, the extensions provided by the trait itself are the only things you'll want to read about here.

Linear Supertypes
Activity, ComponentCallbacks, OnCreateContextMenuListener, Callback, Callback, Factory, ContextThemeWrapper, ContextWrapper, Context, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. PositronicActivityHelpers
  2. Activity
  3. ComponentCallbacks
  4. OnCreateContextMenuListener
  5. Callback
  6. Callback
  7. Factory
  8. ContextThemeWrapper
  9. ContextWrapper
  10. Context
  11. AnyRef
  12. Any
Visibility
  1. Public
  2. All

Type Members

  1. type ContextItemHandler = (ContextMenuInfo, View) ⇒ Unit

  2. class Handlers extends ArrayBuffer[() ⇒ Unit]

    Attributes
    protected[positronicnet]

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def addContentView (arg0: View, arg1: LayoutParams): Unit

    Definition Classes
    Activity
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def attachBaseContext (arg0: Context): Unit

    Attributes
    protected[view]
    Definition Classes
    ContextThemeWrapper → ContextWrapper
  9. def bindService (arg0: Intent, arg1: ServiceConnection, arg2: Int): Boolean

    Definition Classes
    ContextWrapper → Context
  10. def checkCallingOrSelfPermission (arg0: String): Int

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

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

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

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

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

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

    Definition Classes
    ContextWrapper → Context
  17. def clearWallpaper (): Unit

    Definition Classes
    ContextWrapper → Context
    Annotations
    @throws()
  18. def clone (): AnyRef

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

    Definition Classes
    Activity
  20. def closeOptionsMenu (): Unit

    Definition Classes
    Activity
  21. def createPackageContext (arg0: String, arg1: Int): Context

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

    Definition Classes
    Activity
  23. def databaseList (): Array[String]

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

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

    Definition Classes
    ContextWrapper → Context
  26. def dismissDialog (arg0: Int): Unit

    Attributes
    final
    Definition Classes
    Activity
  27. def dispatchKeyEvent (arg0: KeyEvent): Boolean

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

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

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

    Definition Classes
    Activity → Callback
  31. def enforceCallingOrSelfPermission (arg0: String, arg1: String): Unit

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

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

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

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

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

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

    Definition Classes
    ContextWrapper → Context
  38. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  39. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  40. def fileList (): Array[String]

    Definition Classes
    ContextWrapper → Context
  41. def finalize (): Unit

    Attributes
    protected[app]
    Definition Classes
    Activity → AnyRef
    Annotations
    @throws()
  42. def findViewById (arg0: Int): View

    Definition Classes
    Activity
  43. def finish (): Unit

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

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

    Definition Classes
    Activity
  46. def finishFromChild (arg0: Activity): Unit

    Definition Classes
    Activity
  47. def getApplication (): Application

    Attributes
    final
    Definition Classes
    Activity
  48. def getApplicationContext (): Context

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

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

    Definition Classes
    ContextWrapper → Context
  51. def getBaseContext (): Context

    Definition Classes
    ContextWrapper
  52. def getCacheDir (): File

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

    Definition Classes
    Activity
  54. def getCallingPackage (): String

    Definition Classes
    Activity
  55. def getChangingConfigurations (): Int

    Definition Classes
    Activity
  56. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  57. def getClassLoader (): ClassLoader

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

    Definition Classes
    Activity
  59. def getContentResolver (): ContentResolver

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

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

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

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

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

    Definition Classes
    ContextWrapper → Context
  65. def getIntent (): Intent

    Definition Classes
    Activity
  66. def getLastNonConfigurationInstance (): AnyRef

    Definition Classes
    Activity
  67. def getLayoutInflater (): LayoutInflater

    Definition Classes
    Activity
  68. def getLocalClassName (): String

    Definition Classes
    Activity
  69. def getMainLooper (): Looper

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

    Definition Classes
    Activity
  71. def getPackageCodePath (): String

    Definition Classes
    ContextWrapper
  72. def getPackageManager (): PackageManager

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

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

    Definition Classes
    ContextWrapper
  75. def getParent (): Activity

    Attributes
    final
    Definition Classes
    Activity
  76. def getPreferences (arg0: Int): SharedPreferences

    Definition Classes
    Activity
  77. def getRequestedOrientation (): Int

    Definition Classes
    Activity
  78. def getResources (): Resources

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

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

    Attributes
    final
    Definition Classes
    Context
  81. def getString (arg0: Int): String

    Attributes
    final
    Definition Classes
    Context
  82. def getSystemService (arg0: String): AnyRef

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

    Definition Classes
    Activity
  84. def getText (arg0: Int): CharSequence

    Attributes
    final
    Definition Classes
    Context
  85. def getTheme (): Theme

    Definition Classes
    ContextThemeWrapper → ContextWrapper → Context
  86. def getTitle (): CharSequence

    Attributes
    final
    Definition Classes
    Activity
  87. def getTitleColor (): Int

    Attributes
    final
    Definition Classes
    Activity
  88. def getVolumeControlStream (): Int

    Attributes
    final
    Definition Classes
    Activity
  89. def getWallpaper (): Drawable

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

    Definition Classes
    Activity → ContextWrapper → Context
  91. def getWallpaperDesiredMinimumWidth (): Int

    Definition Classes
    Activity → ContextWrapper → Context
  92. def getWindow (): Window

    Definition Classes
    Activity
  93. def getWindowManager (): WindowManager

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

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

    Definition Classes
    Activity
  96. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  97. def isChild (): Boolean

    Attributes
    final
    Definition Classes
    Activity
  98. def isFinishing (): Boolean

    Definition Classes
    Activity
  99. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  100. def isRestricted (): Boolean

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

    Definition Classes
    Activity
  102. def manageListener [T] (listener: AnyRef, source: Notifier[T])(handler: (T) ⇒ Unit): Unit

    Run handler whenever the given Notifier signals a change, within the lifetime of this activity, and using listener as the tag to unregister when the listener is destroyed.

    Run handler whenever the given Notifier signals a change, within the lifetime of this activity, and using listener as the tag to unregister when the listener is destroyed. Like onChangeTo, but necessary if more than one listener might be listening to a given notifier in service to this Activity.

    The handler is automatically run on the UI thread, even if notifications come from somewhere else (e.g., a db thread).

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

    Attributes
    final
    Definition Classes
    Activity
  104. def moveTaskToBack (arg0: Boolean): Boolean

    Definition Classes
    Activity
  105. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  106. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  107. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  108. def obtainStyledAttributes (arg0: AttributeSet, arg1: Array[Int], arg2: Int, arg3: Int): TypedArray

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

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

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

    Attributes
    final
    Definition Classes
    Context
  112. def onActivityResult (arg0: Int, arg1: Int, arg2: Intent): Unit

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

    Attributes
    protected[app]
    Definition Classes
    Activity → ContextThemeWrapper
  114. def onAttachedToWindow (): Unit

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

    Definition Classes
    Activity
  116. def onChangeTo [T] (notifier: Notifier[T])(handler: (T) ⇒ Unit): Unit

    Run handler whenever the given Notifier signals a change, within the lifetime of this activity.

    Run handler whenever the given Notifier signals a change, within the lifetime of this activity.

    The handler is automatically run on the UI thread, even if notifications come from somewhere else (e.g., a db thread).

  117. def onChildTitleChanged (arg0: Activity, arg1: CharSequence): Unit

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

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

    Definition Classes
    Activity → Callback
  120. def onContextItemSelected (it: MenuItem): Boolean

    Definition Classes
    PositronicActivityHelpers → Activity
  121. def onContextItemSelected (id: Int)(handler: ContextItemHandler): Unit

    When the context menu item with the given resource id is selected, run the handler.

    When the context menu item with the given resource id is selected, run the handler.

    The handler should take two arguments --- a ContextMenu.ContextMenuInfo and the View on which the user selected the context menu.

  122. def onContextMenuClosed (arg0: Menu): Unit

    Definition Classes
    Activity
  123. def onCreate (thunk: ⇒ Unit): Unit

    Invoked as onCreate{ ... body ... }.

    Invoked as onCreate{ ... body ... }.

    Runs body (possibly among others) when the framework calls the base onCreate method.

  124. def onCreate (b: Bundle): Unit

    Definition Classes
    PositronicActivityHelpers → Activity
  125. def onCreateContextMenu (menu: ContextMenu, view: View, info: ContextMenuInfo): Unit

    Definition Classes
    PositronicActivityHelpers → Activity → OnCreateContextMenuListener
  126. def onCreateDescription (): CharSequence

    Definition Classes
    Activity
  127. def onCreateDialog (arg0: Int): Dialog

    Attributes
    protected[app]
    Definition Classes
    Activity
  128. def onCreateOptionsMenu (menu: Menu): Boolean

    Definition Classes
    PositronicActivityHelpers → Activity
  129. def onCreatePanelMenu (arg0: Int, arg1: Menu): Boolean

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

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

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

    Definition Classes
    Activity → Factory
  133. def onDestroy (thunk: ⇒ Unit): Unit

    Invoked as onDestroy{ ... body ... }.

    Invoked as onDestroy{ ... body ... }.

    Runs body (possibly among others) when the framework calls the base onDestroy method.

  134. def onDestroy (): Unit

    Definition Classes
    PositronicActivityHelpers → Activity
  135. def onDetachedFromWindow (): Unit

    Definition Classes
    Activity → Callback
  136. def onKeyDown (arg0: Int, arg1: KeyEvent): Boolean

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

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

    Definition Classes
    Activity → Callback
  139. def onKeyUp (arg0: Int, arg1: KeyEvent): Boolean

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

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

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

    Definition Classes
    Activity → Callback
  143. def onNewIntent (arg0: Intent): Unit

    Attributes
    protected[app]
    Definition Classes
    Activity
  144. def onOptionsItemSelected (it: MenuItem): Boolean

    Definition Classes
    PositronicActivityHelpers → Activity
  145. def onOptionsItemSelected (id: Int)(thunk: ⇒ Unit): Unit

    When the options menu item with the given resource id is selected, run the thunk.

  146. def onOptionsMenuClosed (arg0: Menu): Unit

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

    Definition Classes
    Activity → Callback
  148. def onPause (thunk: ⇒ Unit): Unit

    Invoked as onPause{ ... body ... }.

    Invoked as onPause{ ... body ... }.

    Runs body (possibly among others) when the framework calls the base onPause method.

  149. def onPause (): Unit

    Definition Classes
    PositronicActivityHelpers → Activity
  150. def onPostCreate (arg0: Bundle): Unit

    Attributes
    protected[app]
    Definition Classes
    Activity
  151. def onPostResume (): Unit

    Attributes
    protected[app]
    Definition Classes
    Activity
  152. def onPrepareDialog (arg0: Int, arg1: Dialog): Unit

    Attributes
    protected[app]
    Definition Classes
    Activity
  153. def onPrepareOptionsMenu (handler: (Menu) ⇒ Unit): Unit

  154. def onPrepareOptionsMenu (m: Menu): Boolean

    Definition Classes
    PositronicActivityHelpers → Activity
  155. def onPreparePanel (arg0: Int, arg1: View, arg2: Menu): Boolean

    Definition Classes
    Activity → Callback
  156. def onRestart (thunk: ⇒ Unit): Unit

    Invoked as onRestart{ ... body ... }.

    Invoked as onRestart{ ... body ... }.

    Runs body (possibly among others) when the framework calls the base onRestart method.

  157. def onRestart (): Unit

    Definition Classes
    PositronicActivityHelpers → Activity
  158. def onRestoreInstanceState (b: Bundle): Unit

    Definition Classes
    PositronicActivityHelpers → Activity
  159. def onResume (thunk: ⇒ Unit): Unit

    Invoked as onResume{ ... body ... }.

    Invoked as onResume{ ... body ... }.

    Runs body (possibly among others) when the framework calls the base onResume method.

  160. def onResume (): Unit

    Definition Classes
    PositronicActivityHelpers → Activity
  161. def onRetainNonConfigurationInstance (): AnyRef

    Definition Classes
    Activity
  162. def onSaveInstanceState (b: Bundle): Unit

    Definition Classes
    PositronicActivityHelpers → Activity
  163. def onSearchRequested (): Boolean

    Definition Classes
    Activity → Callback
  164. def onStart (): Unit

    Attributes
    protected[app]
    Definition Classes
    Activity
  165. def onStop (thunk: ⇒ Unit): Unit

    Invoked as onStop{ ... body ... }.

    Invoked as onStop{ ... body ... }.

    Runs body (possibly among others) when the framework calls the base onStop method.

  166. def onStop (): Unit

    Definition Classes
    PositronicActivityHelpers → Activity
  167. def onTitleChanged (arg0: CharSequence, arg1: Int): Unit

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

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

    Definition Classes
    Activity
  170. def onUserInteraction (): Unit

    Definition Classes
    Activity
  171. def onUserLeaveHint (): Unit

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

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

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

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

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

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

    Definition Classes
    Activity
  178. def openOrCreateDatabase (arg0: String, arg1: Int, arg2: CursorFactory): SQLiteDatabase

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

    Definition Classes
    Activity
  180. def peekWallpaper (): Drawable

    Definition Classes
    ContextWrapper → Context
  181. def recreateInstanceState (b: Bundle): Unit

    Called onCreate, to restore instance state from the Bundle, only if a Bundle is supplied.

  182. def registerForContextMenu (arg0: View): Unit

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

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

    Definition Classes
    ContextWrapper → Context
  185. def removeDialog (arg0: Int): Unit

    Attributes
    final
    Definition Classes
    Activity
  186. def removeStickyBroadcast (arg0: Intent): Unit

    Definition Classes
    ContextWrapper → Context
  187. def requestWindowFeature (arg0: Int): Boolean

    Attributes
    final
    Definition Classes
    Activity
  188. def restoreInstanceState (b: Bundle): Unit

    Called onRestoreInstanceState to restore instance state from the Bundle, only if a Bundle is supplied.

  189. def revokeUriPermission (arg0: Uri, arg1: Int): Unit

    Definition Classes
    ContextWrapper → Context
  190. def runOnUiThread (thunk: ⇒ Unit): Unit

    Run the thunk on this activity's UI thread.

  191. def runOnUiThread (arg0: Runnable): Unit

    Attributes
    final
    Definition Classes
    Activity
  192. def saveInstanceState (b: Bundle): Unit

    Called onSaveInstanceState, after super.onSaveInstanceState(), to save any extra state in the bundle.

    Called onSaveInstanceState, after super.onSaveInstanceState(), to save any extra state in the bundle. As per the standard method, except that it calls super to save the framework state automatically, so you don't have to.

  193. def sendBroadcast (arg0: Intent, arg1: String): Unit

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

    Definition Classes
    ContextWrapper → Context
  195. def sendOrderedBroadcast (arg0: Intent, arg1: String, arg2: BroadcastReceiver, arg3: Handler, arg4: Int, arg5: String, arg6: Bundle): Unit

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

    Definition Classes
    ContextWrapper → Context
  197. def sendStickyBroadcast (arg0: Intent): Unit

    Definition Classes
    ContextWrapper → Context
  198. def sendStickyOrderedBroadcast (arg0: Intent, arg1: BroadcastReceiver, arg2: Handler, arg3: Int, arg4: String, arg5: Bundle): Unit

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

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

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

    Definition Classes
    Activity
  202. def setDefaultKeyMode (arg0: Int): Unit

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

    Attributes
    final
    Definition Classes
    Activity
  204. def setFeatureDrawableAlpha (arg0: Int, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    Activity
  205. def setFeatureDrawableResource (arg0: Int, arg1: Int): Unit

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

    Attributes
    final
    Definition Classes
    Activity
  207. def setIntent (arg0: Intent): Unit

    Definition Classes
    Activity
  208. def setPersistent (arg0: Boolean): Unit

    Definition Classes
    Activity
  209. def setProgress (arg0: Int): Unit

    Attributes
    final
    Definition Classes
    Activity
  210. def setProgressBarIndeterminate (arg0: Boolean): Unit

    Attributes
    final
    Definition Classes
    Activity
  211. def setProgressBarIndeterminateVisibility (arg0: Boolean): Unit

    Attributes
    final
    Definition Classes
    Activity
  212. def setProgressBarVisibility (arg0: Boolean): Unit

    Attributes
    final
    Definition Classes
    Activity
  213. def setRequestedOrientation (arg0: Int): Unit

    Definition Classes
    Activity
  214. def setResult (arg0: Int, arg1: Intent): Unit

    Attributes
    final
    Definition Classes
    Activity
  215. def setResult (arg0: Int): Unit

    Attributes
    final
    Definition Classes
    Activity
  216. def setSecondaryProgress (arg0: Int): Unit

    Attributes
    final
    Definition Classes
    Activity
  217. def setTheme (arg0: Int): Unit

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

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

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

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

    Definition Classes
    Activity
  222. def setVolumeControlStream (arg0: Int): Unit

    Attributes
    final
    Definition Classes
    Activity
  223. def setWallpaper (arg0: InputStream): Unit

    Definition Classes
    ContextWrapper → Context
    Annotations
    @throws()
  224. def setWallpaper (arg0: Bitmap): Unit

    Definition Classes
    ContextWrapper → Context
    Annotations
    @throws()
  225. def showDialog (arg0: Int): Unit

    Attributes
    final
    Definition Classes
    Activity
  226. def startActivity (arg0: Intent): Unit

    Definition Classes
    Activity → ContextWrapper → Context
  227. def startActivityForResult (arg0: Intent, arg1: Int): Unit

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

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

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

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

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

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

    Definition Classes
    Activity
    Annotations
    @throws()
  234. def startManagingCursor (arg0: Cursor): Unit

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

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

    Definition Classes
    Activity
  237. def startService (arg0: Intent): ComponentName

    Definition Classes
    ContextWrapper → Context
  238. def stopManagingCursor (arg0: Cursor): Unit

    Definition Classes
    Activity
  239. def stopService (arg0: Intent): Boolean

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

    Attributes
    final
    Definition Classes
    AnyRef
  241. def takeKeyEvents (arg0: Boolean): Unit

    Definition Classes
    Activity
  242. def toString (): String

    Definition Classes
    AnyRef → Any
  243. def toast (msgResId: Int, duration: Int = Toast.LENGTH_SHORT): Unit

    Shorthand for making, and immediately showing, a toast

  244. def toastLong (msg: String): Unit

    Shorthand for making, and immediately showing, a toast

  245. def toastLong (msgResId: Int): Unit

    Shorthand for making, and immediately showing, a toast

  246. def toastShort (msg: String): Unit

    Shorthand for making, and immediately showing, a toast

  247. def toastShort (msgResId: Int): Unit

    Shorthand for making, and immediately showing, a toast

  248. def triggerSearch (arg0: String, arg1: Bundle): Unit

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

    Definition Classes
    ContextWrapper → Context
  250. def unregisterForContextMenu (arg0: View): Unit

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

    Definition Classes
    ContextWrapper → Context
  252. def useAppFacility (f: AppFacility): Unit

    Open the given AppFacility, and arrange for it to be closed when this activity is destroyed.

  253. def useContextMenuResource (id: Int): Unit

    Select a menu resource to inflate and use as our context menu.

    Select a menu resource to inflate and use as our context menu. Implements the common case of onCreateOptionsMenu with less chatter.

  254. def useOptionsMenuResource (id: Int): Unit

    Select a menu resource to inflate and use as our options menu.

    Select a menu resource to inflate and use as our options menu. Implements the common case of onCreateOptionsMenu with less chatter.

  255. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Activity

Inherited from ComponentCallbacks

Inherited from OnCreateContextMenuListener

Inherited from Callback

Inherited from Callback

Inherited from Factory

Inherited from ContextThemeWrapper

Inherited from ContextWrapper

Inherited from Context

Inherited from AnyRef

Inherited from Any