Type Members
-
type
ContextItemHandler
= (ContextMenuInfo, View) ⇒ Unit
-
class
Handlers
extends ArrayBuffer[() ⇒ Unit]
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
addContentView
(arg0: View, arg1: LayoutParams): Unit
-
def
asInstanceOf
[T0]
: T0
-
def
attachBaseContext
(arg0: Context): Unit
-
def
bindService
(arg0: Intent, arg1: ServiceConnection, arg2: Int): Boolean
-
def
checkCallingOrSelfPermission
(arg0: String): Int
-
def
checkCallingOrSelfUriPermission
(arg0: Uri, arg1: Int): Int
-
def
checkCallingPermission
(arg0: String): Int
-
def
checkCallingUriPermission
(arg0: Uri, arg1: Int): Int
-
def
checkPermission
(arg0: String, arg1: Int, arg2: Int): Int
-
def
checkUriPermission
(arg0: Uri, arg1: String, arg2: String, arg3: Int, arg4: Int, arg5: Int): Int
-
def
checkUriPermission
(arg0: Uri, arg1: Int, arg2: Int, arg3: Int): Int
-
def
clearWallpaper
(): Unit
-
def
clone
(): AnyRef
-
def
closeContextMenu
(): Unit
-
def
closeOptionsMenu
(): Unit
-
def
createPackageContext
(arg0: String, arg1: Int): Context
-
def
createPendingResult
(arg0: Int, arg1: Intent, arg2: Int): PendingIntent
-
def
databaseList
(): Array[String]
-
def
deleteDatabase
(arg0: String): Boolean
-
def
deleteFile
(arg0: String): Boolean
-
def
dismissDialog
(arg0: Int): Unit
-
def
dispatchKeyEvent
(arg0: KeyEvent): Boolean
-
def
dispatchPopulateAccessibilityEvent
(arg0: AccessibilityEvent): Boolean
-
def
dispatchTouchEvent
(arg0: MotionEvent): Boolean
-
def
dispatchTrackballEvent
(arg0: MotionEvent): Boolean
-
def
enforceCallingOrSelfPermission
(arg0: String, arg1: String): Unit
-
def
enforceCallingOrSelfUriPermission
(arg0: Uri, arg1: Int, arg2: String): Unit
-
def
enforceCallingPermission
(arg0: String, arg1: String): Unit
-
def
enforceCallingUriPermission
(arg0: Uri, arg1: Int, arg2: String): Unit
-
def
enforcePermission
(arg0: String, arg1: Int, arg2: Int, arg3: String): Unit
-
def
enforceUriPermission
(arg0: Uri, arg1: String, arg2: String, arg3: Int, arg4: Int, arg5: Int, arg6: String): Unit
-
def
enforceUriPermission
(arg0: Uri, arg1: Int, arg2: Int, arg3: Int, arg4: String): Unit
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
fileList
(): Array[String]
-
def
finalize
(): Unit
-
def
findViewById
(arg0: Int): View
-
def
finish
(): Unit
-
def
finishActivity
(arg0: Int): Unit
-
def
finishActivityFromChild
(arg0: Activity, arg1: Int): Unit
-
def
finishFromChild
(arg0: Activity): Unit
-
def
getApplication
(): Application
-
def
getApplicationContext
(): Context
-
def
getApplicationInfo
(): ApplicationInfo
-
def
getAssets
(): AssetManager
-
def
getBaseContext
(): Context
-
def
getCacheDir
(): File
-
def
getCallingActivity
(): ComponentName
-
def
getCallingPackage
(): String
-
def
getChangingConfigurations
(): Int
-
def
getClass
(): java.lang.Class[_]
-
def
getClassLoader
(): ClassLoader
-
def
getComponentName
(): ComponentName
-
def
getContentResolver
(): ContentResolver
-
def
getCurrentFocus
(): View
-
def
getDatabasePath
(arg0: String): File
-
def
getDir
(arg0: String, arg1: Int): File
-
def
getFileStreamPath
(arg0: String): File
-
def
getFilesDir
(): File
-
def
getIntent
(): Intent
-
def
getLastNonConfigurationInstance
(): AnyRef
-
def
getLayoutInflater
(): LayoutInflater
-
def
getLocalClassName
(): String
-
def
getMainLooper
(): Looper
-
def
getMenuInflater
(): MenuInflater
-
def
getPackageCodePath
(): String
-
def
getPackageManager
(): PackageManager
-
def
getPackageName
(): String
-
def
getPackageResourcePath
(): String
-
def
getParent
(): Activity
-
def
getPreferences
(arg0: Int): SharedPreferences
-
def
getRequestedOrientation
(): Int
-
def
getResources
(): Resources
-
def
getSharedPreferences
(arg0: String, arg1: Int): SharedPreferences
-
def
getString
(arg0: Int, arg1: <repeated...>[AnyRef]): String
-
def
getString
(arg0: Int): String
-
def
getSystemService
(arg0: String): AnyRef
-
def
getTaskId
(): Int
-
def
getText
(arg0: Int): CharSequence
-
def
getTheme
(): Theme
-
def
getTitle
(): CharSequence
-
def
getTitleColor
(): Int
-
def
getVolumeControlStream
(): Int
-
def
getWallpaper
(): Drawable
-
def
getWallpaperDesiredMinimumHeight
(): Int
-
def
getWallpaperDesiredMinimumWidth
(): Int
-
def
getWindow
(): Window
-
def
getWindowManager
(): WindowManager
-
def
grantUriPermission
(arg0: String, arg1: Uri, arg2: Int): Unit
-
def
hasWindowFocus
(): Boolean
-
def
hashCode
(): Int
-
def
isChild
(): Boolean
-
def
isFinishing
(): Boolean
-
def
isInstanceOf
[T0]
: Boolean
-
def
isRestricted
(): Boolean
-
def
isTaskRoot
(): Boolean
-
def
manageListener
[T]
(listener: AnyRef, source: Notifier[T])(handler: (T) ⇒ Unit): Unit
-
def
managedQuery
(arg0: Uri, arg1: Array[String], arg2: String, arg3: Array[String], arg4: String): Cursor
-
def
moveTaskToBack
(arg0: Boolean): Boolean
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
obtainStyledAttributes
(arg0: AttributeSet, arg1: Array[Int], arg2: Int, arg3: Int): TypedArray
-
def
obtainStyledAttributes
(arg0: AttributeSet, arg1: Array[Int]): TypedArray
-
def
obtainStyledAttributes
(arg0: Int, arg1: Array[Int]): TypedArray
-
def
obtainStyledAttributes
(arg0: Array[Int]): TypedArray
-
def
onActivityResult
(arg0: Int, arg1: Int, arg2: Intent): Unit
-
def
onApplyThemeResource
(arg0: Theme, arg1: Int, arg2: Boolean): Unit
-
def
onAttachedToWindow
(): Unit
-
def
onBackPressed
(): Unit
-
def
onChangeTo
[T]
(notifier: Notifier[T])(handler: (T) ⇒ Unit): Unit
-
def
onChildTitleChanged
(arg0: Activity, arg1: CharSequence): Unit
-
def
onConfigurationChanged
(arg0: Configuration): Unit
-
def
onContentChanged
(): Unit
-
def
onContextItemSelected
(it: MenuItem): Boolean
-
def
onContextItemSelected
(id: Int)(handler: ContextItemHandler): Unit
-
def
onContextMenuClosed
(arg0: Menu): Unit
-
def
onCreate
(thunk: ⇒ Unit): Unit
-
def
onCreate
(b: Bundle): Unit
-
def
onCreateContextMenu
(menu: ContextMenu, view: View, info: ContextMenuInfo): Unit
-
def
onCreateDescription
(): CharSequence
-
def
onCreateDialog
(arg0: Int): Dialog
-
def
onCreateOptionsMenu
(menu: Menu): Boolean
-
def
onCreatePanelMenu
(arg0: Int, arg1: Menu): Boolean
-
def
onCreatePanelView
(arg0: Int): View
-
def
onCreateThumbnail
(arg0: Bitmap, arg1: Canvas): Boolean
-
def
onCreateView
(arg0: String, arg1: Context, arg2: AttributeSet): View
-
def
onDestroy
(thunk: ⇒ Unit): Unit
-
def
onDestroy
(): Unit
-
def
onDetachedFromWindow
(): Unit
-
def
onKeyDown
(arg0: Int, arg1: KeyEvent): Boolean
-
def
onKeyLongPress
(arg0: Int, arg1: KeyEvent): Boolean
-
def
onKeyMultiple
(arg0: Int, arg1: Int, arg2: KeyEvent): Boolean
-
def
onKeyUp
(arg0: Int, arg1: KeyEvent): Boolean
-
def
onLowMemory
(): Unit
-
def
onMenuItemSelected
(arg0: Int, arg1: MenuItem): Boolean
-
def
onMenuOpened
(arg0: Int, arg1: Menu): Boolean
-
def
onNewIntent
(arg0: Intent): Unit
-
def
onOptionsItemSelected
(it: MenuItem): Boolean
-
def
onOptionsItemSelected
(id: Int)(thunk: ⇒ Unit): Unit
-
def
onOptionsMenuClosed
(arg0: Menu): Unit
-
def
onPanelClosed
(arg0: Int, arg1: Menu): Unit
-
def
onPause
(thunk: ⇒ Unit): Unit
-
def
onPause
(): Unit
-
def
onPostCreate
(arg0: Bundle): Unit
-
def
onPostResume
(): Unit
-
def
onPrepareDialog
(arg0: Int, arg1: Dialog): Unit
-
def
onPrepareOptionsMenu
(handler: (Menu) ⇒ Unit): Unit
-
def
onPrepareOptionsMenu
(m: Menu): Boolean
-
def
onPreparePanel
(arg0: Int, arg1: View, arg2: Menu): Boolean
-
def
onRestart
(thunk: ⇒ Unit): Unit
-
def
onRestart
(): Unit
-
def
onRestoreInstanceState
(b: Bundle): Unit
-
def
onResume
(thunk: ⇒ Unit): Unit
-
def
onResume
(): Unit
-
def
onRetainNonConfigurationInstance
(): AnyRef
-
def
onSaveInstanceState
(b: Bundle): Unit
-
def
onSearchRequested
(): Boolean
-
def
onStart
(): Unit
-
def
onStop
(thunk: ⇒ Unit): Unit
-
def
onStop
(): Unit
-
def
onTitleChanged
(arg0: CharSequence, arg1: Int): Unit
-
def
onTouchEvent
(arg0: MotionEvent): Boolean
-
def
onTrackballEvent
(arg0: MotionEvent): Boolean
-
def
onUserInteraction
(): Unit
-
def
onUserLeaveHint
(): Unit
-
def
onWindowAttributesChanged
(arg0: LayoutParams): Unit
-
def
onWindowFocusChanged
(arg0: Boolean): Unit
-
def
openContextMenu
(arg0: View): Unit
-
def
openFileInput
(arg0: String): FileInputStream
-
def
openFileOutput
(arg0: String, arg1: Int): FileOutputStream
-
def
openOptionsMenu
(): Unit
-
def
openOrCreateDatabase
(arg0: String, arg1: Int, arg2: CursorFactory): SQLiteDatabase
-
def
overridePendingTransition
(arg0: Int, arg1: Int): Unit
-
def
peekWallpaper
(): Drawable
-
def
recreateInstanceState
(b: Bundle): Unit
-
def
registerForContextMenu
(arg0: View): Unit
-
def
registerReceiver
(arg0: BroadcastReceiver, arg1: IntentFilter, arg2: String, arg3: Handler): Intent
-
def
registerReceiver
(arg0: BroadcastReceiver, arg1: IntentFilter): Intent
-
def
removeDialog
(arg0: Int): Unit
-
def
removeStickyBroadcast
(arg0: Intent): Unit
-
def
requestWindowFeature
(arg0: Int): Boolean
-
def
restoreInstanceState
(b: Bundle): Unit
-
def
revokeUriPermission
(arg0: Uri, arg1: Int): Unit
-
def
runOnUiThread
(thunk: ⇒ Unit): Unit
-
def
runOnUiThread
(arg0: Runnable): Unit
-
def
saveInstanceState
(b: Bundle): Unit
-
def
sendBroadcast
(arg0: Intent, arg1: String): Unit
-
def
sendBroadcast
(arg0: Intent): Unit
-
def
sendOrderedBroadcast
(arg0: Intent, arg1: String, arg2: BroadcastReceiver, arg3: Handler, arg4: Int, arg5: String, arg6: Bundle): Unit
-
def
sendOrderedBroadcast
(arg0: Intent, arg1: String): Unit
-
def
sendStickyBroadcast
(arg0: Intent): Unit
-
def
sendStickyOrderedBroadcast
(arg0: Intent, arg1: BroadcastReceiver, arg2: Handler, arg3: Int, arg4: String, arg5: Bundle): Unit
-
def
setContentView
(arg0: View, arg1: LayoutParams): Unit
-
def
setContentView
(arg0: View): Unit
-
def
setContentView
(arg0: Int): Unit
-
def
setDefaultKeyMode
(arg0: Int): Unit
-
def
setFeatureDrawable
(arg0: Int, arg1: Drawable): Unit
-
def
setFeatureDrawableAlpha
(arg0: Int, arg1: Int): Unit
-
def
setFeatureDrawableResource
(arg0: Int, arg1: Int): Unit
-
def
setFeatureDrawableUri
(arg0: Int, arg1: Uri): Unit
-
def
setIntent
(arg0: Intent): Unit
-
def
setPersistent
(arg0: Boolean): Unit
-
def
setProgress
(arg0: Int): Unit
-
def
setProgressBarIndeterminate
(arg0: Boolean): Unit
-
def
setProgressBarIndeterminateVisibility
(arg0: Boolean): Unit
-
def
setProgressBarVisibility
(arg0: Boolean): Unit
-
def
setRequestedOrientation
(arg0: Int): Unit
-
def
setResult
(arg0: Int, arg1: Intent): Unit
-
def
setResult
(arg0: Int): Unit
-
def
setSecondaryProgress
(arg0: Int): Unit
-
def
setTheme
(arg0: Int): Unit
-
def
setTitle
(arg0: Int): Unit
-
def
setTitle
(arg0: CharSequence): Unit
-
def
setTitleColor
(arg0: Int): Unit
-
def
setVisible
(arg0: Boolean): Unit
-
def
setVolumeControlStream
(arg0: Int): Unit
-
def
setWallpaper
(arg0: InputStream): Unit
-
def
setWallpaper
(arg0: Bitmap): Unit
-
def
showDialog
(arg0: Int): Unit
-
def
startActivity
(arg0: Intent): Unit
-
def
startActivityForResult
(arg0: Intent, arg1: Int): Unit
-
def
startActivityFromChild
(arg0: Activity, arg1: Intent, arg2: Int): Unit
-
def
startActivityIfNeeded
(arg0: Intent, arg1: Int): Boolean
-
def
startInstrumentation
(arg0: ComponentName, arg1: String, arg2: Bundle): Boolean
-
def
startIntentSender
(arg0: IntentSender, arg1: Intent, arg2: Int, arg3: Int, arg4: Int): Unit
-
def
startIntentSenderForResult
(arg0: IntentSender, arg1: Int, arg2: Intent, arg3: Int, arg4: Int, arg5: Int): Unit
-
def
startIntentSenderFromChild
(arg0: Activity, arg1: IntentSender, arg2: Int, arg3: Intent, arg4: Int, arg5: Int, arg6: Int): Unit
-
def
startManagingCursor
(arg0: Cursor): Unit
-
def
startNextMatchingActivity
(arg0: Intent): Boolean
-
def
startSearch
(arg0: String, arg1: Boolean, arg2: Bundle, arg3: Boolean): Unit
-
def
startService
(arg0: Intent): ComponentName
-
def
stopManagingCursor
(arg0: Cursor): Unit
-
def
stopService
(arg0: Intent): Boolean
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
takeKeyEvents
(arg0: Boolean): Unit
-
def
toString
(): String
-
def
toast
(msgResId: Int, duration: Int = Toast.LENGTH_SHORT): Unit
-
def
toastLong
(msg: String): Unit
-
def
toastLong
(msgResId: Int): Unit
-
def
toastShort
(msg: String): Unit
-
def
toastShort
(msgResId: Int): Unit
-
def
triggerSearch
(arg0: String, arg1: Bundle): Unit
-
def
unbindService
(arg0: ServiceConnection): Unit
-
def
unregisterForContextMenu
(arg0: View): Unit
-
def
unregisterReceiver
(arg0: BroadcastReceiver): Unit
-
def
useAppFacility
(f: AppFacility): Unit
-
def
useContextMenuResource
(id: Int): Unit
-
def
useOptionsMenuResource
(id: Int): Unit
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
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
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.