ActionTrampolineActivity

open class ActionTrampolineActivity : Activity


Trampoline activity for handling click interactions of list adapter items that start activities. This trampoline is only used for device versions before android.os.Build.VERSION_CODES.Q.

Summary

Public constructors

Protected functions

open Unit
onCreate(savedInstanceState: Bundle?)

Inherited functions

From android.app.Activity
open Unit
open Unit
open Unit
open Unit
open PendingIntent
createPendingResult(requestCode: Int, data: Intent, flags: Int)
Unit

This function is deprecated. Deprecated in Java

Unit
open Unit
dump(
    prefix: String,
    fd: FileDescriptor?,
    writer: PrintWriter,
    args: Array<String>?
)
open Unit

This function is deprecated. Deprecated in Java

open Boolean
open T
<T : View> findViewById(id: Int)
open Unit
open Unit
finishActivity(requestCode: Int)
open Unit
finishActivityFromChild(child: Activity, requestCode: Int)

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Unit
open Unit

This function is deprecated. Deprecated in Java

open SharedPreferences
open Boolean
open Unit
Cursor
managedQuery(
    uri: Uri,
    projection: Array<String>,
    selection: String,
    selectionArgs: Array<String>,
    sortOrder: String
)

This function is deprecated. Deprecated in Java

open Boolean
open Boolean
navigateUpTo(upIntent: Intent)
open Boolean
navigateUpToFromChild(child: Activity, upIntent: Intent)

This function is deprecated. Deprecated in Java

open Unit
onActivityReenter(resultCode: Int, data: Intent)
open Unit
onActivityResult(requestCode: Int, resultCode: Int, data: Intent)
open Unit
onActivityResult(
    requestCode: Int,
    resultCode: Int,
    data: Intent?,
    caller: ComponentCaller
)
open Unit

This function is deprecated. Deprecated in Java

open Unit

This function is deprecated. Deprecated in Java

open Unit
onChildTitleChanged(childActivity: Activity, title: CharSequence)
open Boolean
open Unit
open Unit
onCreate(savedInstanceState: Bundle?, persistentState: PersistableBundle?)
open CharSequence?
open Dialog

This function is deprecated. Deprecated in Java

open Dialog?
onCreateDialog(id: Int, args: Bundle)

This function is deprecated. Deprecated in Java

open Unit
open Boolean
open Boolean
onCreateThumbnail(outBitmap: Bitmap, canvas: Canvas)

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Boolean
open Unit
onGetDirectActions(
    cancellationSignal: CancellationSignal,
    callback: Consumer<MutableList<DirectAction>>
)
open Boolean
onKeyShortcut(keyCode: Int, event: KeyEvent)
open Unit
open Unit
open Unit
onMultiWindowModeChanged(isInMultiWindowMode: Boolean)

This function is deprecated. Deprecated in Java

open Unit
onMultiWindowModeChanged(
    isInMultiWindowMode: Boolean,
    newConfig: Configuration
)
open Boolean
open Boolean

This function is deprecated. Deprecated in Java

open Unit
open Unit
onNewIntent(intent: Intent, caller: ComponentCaller)
open Boolean
open Unit
open Unit
open Unit
onPerformDirectAction(
    actionId: String,
    arguments: Bundle,
    cancellationSignal: CancellationSignal,
    resultListener: Consumer<Bundle>
)
open Unit
onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean)

This function is deprecated. Deprecated in Java

open Unit
onPictureInPictureModeChanged(
    isInPictureInPictureMode: Boolean,
    newConfig: Configuration
)
open Boolean
open Unit
open Unit
onPostCreate(savedInstanceState: Bundle?)
open Unit
onPostCreate(
    savedInstanceState: Bundle?,
    persistentState: PersistableBundle?
)
open Unit
open Unit
onPrepareDialog(id: Int, dialog: Dialog)

This function is deprecated. Deprecated in Java

open Unit
onPrepareDialog(id: Int, dialog: Dialog, args: Bundle)

This function is deprecated. Deprecated in Java

open Unit
open Boolean
open Unit
open Unit
open Uri
open Unit
onRequestPermissionsResult(
    requestCode: Int,
    permissions: Array<String>,
    grantResults: IntArray
)
open Unit
onRequestPermissionsResult(
    requestCode: Int,
    permissions: Array<String>,
    grantResults: IntArray,
    deviceId: Int
)
open Unit
open Unit
onRestoreInstanceState(savedInstanceState: Bundle)
open Unit
onRestoreInstanceState(
    savedInstanceState: Bundle?,
    persistentState: PersistableBundle?
)
open Unit
open Any
open Unit
open Unit
onSaveInstanceState(
    outState: Bundle,
    outPersistentState: PersistableBundle
)
open Unit
open Unit

This function is deprecated. Deprecated in Java

open Unit
open Unit
onTitleChanged(title: CharSequence, color: Int)
open Unit
onTopResumedActivityChanged(isTopResumedActivity: Boolean)
open Boolean
open Boolean
open Unit
open Unit
open Unit

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Unit
overrideActivityTransition(
    overrideType: Int,
    enterAnim: Int,
    exitAnim: Int
)
open Unit
overrideActivityTransition(
    overrideType: Int,
    enterAnim: Int,
    exitAnim: Int,
    backgroundColor: Int
)
open Unit
overridePendingTransition(enterAnim: Int, exitAnim: Int)

This function is deprecated. Deprecated in Java

open Unit
overridePendingTransition(
    enterAnim: Int,
    exitAnim: Int,
    backgroundColor: Int
)

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Unit
open Unit
open Unit
open Boolean
Unit

This function is deprecated. Deprecated in Java

open Unit
open DragAndDropPermissions
open Unit
requestFullscreenMode(
    request: Int,
    approvalCallback: OutcomeReceiver<VoidThrowable>?
)
Unit
Unit
requestPermissions(permissions: Array<String>, requestCode: Int)
Unit
requestPermissions(
    permissions: Array<String>,
    requestCode: Int,
    deviceId: Int
)
Unit
open Boolean

This function is deprecated. Deprecated in Java

Boolean
T
<T : View> requireViewById(id: Int)
Unit
open Unit
setActionBar(toolbar: Toolbar?)
open Unit
open Unit
setContentView(layoutResID: Int)
open Unit
open Unit
Unit
open Unit
open Unit
Unit
setFeatureDrawable(featureId: Int, drawable: Drawable)
Unit
setFeatureDrawableAlpha(featureId: Int, alpha: Int)
Unit
setFeatureDrawableResource(featureId: Int, resId: Int)
Unit
setFeatureDrawableUri(featureId: Int, uri: Uri)
open Unit
open Unit
setInheritShowWhenLocked(inheritShowWhenLocked: Boolean)
open Unit
setLocusContext(locusId: LocusId?, bundle: Bundle?)
open Unit
Unit
setProgress(progress: Int)

This function is deprecated. Deprecated in Java

Unit

This function is deprecated. Deprecated in Java

Unit

This function is deprecated. Deprecated in Java

Unit

This function is deprecated. Deprecated in Java

open Unit
Unit
setResult(resultCode: Int)
Unit
setResult(resultCode: Int, data: Intent)
Unit
setSecondaryProgress(secondaryProgress: Int)

This function is deprecated. Deprecated in Java

open Unit
setShouldDockBigOverlays(shouldDockBigOverlays: Boolean)
open Unit
setShowWhenLocked(showWhenLocked: Boolean)
open Unit
open Boolean
setTranslucent(translucent: Boolean)
open Unit
setTurnScreenOn(turnScreenOn: Boolean)
open Unit
setVisible(visible: Boolean)
open Unit
setVrModeEnabled(enabled: Boolean, requestedComponent: ComponentName)
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
Unit

This function is deprecated. Deprecated in Java

Boolean
showDialog(id: Int, args: Bundle)

This function is deprecated. Deprecated in Java

open Unit
open ActionMode?
open ActionMode?
open Unit
startActivityForResult(intent: Intent, requestCode: Int)
open Unit
startActivityForResult(intent: Intent, requestCode: Int, options: Bundle?)
open Unit
startActivityFromChild(child: Activity, intent: Intent, requestCode: Int)

This function is deprecated. Deprecated in Java

open Unit
startActivityFromChild(
    child: Activity,
    intent: Intent,
    requestCode: Int,
    options: Bundle?
)

This function is deprecated. Deprecated in Java

open Unit
startActivityFromFragment(
    fragment: Fragment,
    intent: Intent,
    requestCode: Int
)

This function is deprecated. Deprecated in Java

open Unit
startActivityFromFragment(
    fragment: Fragment,
    intent: Intent,
    requestCode: Int,
    options: Bundle?
)

This function is deprecated. Deprecated in Java

open Boolean
startActivityIfNeeded(intent: Intent, requestCode: Int)
open Boolean
startActivityIfNeeded(intent: Intent, requestCode: Int, options: Bundle?)
open Unit
startIntentSenderForResult(
    intent: IntentSender,
    requestCode: Int,
    fillInIntent: Intent?,
    flagsMask: Int,
    flagsValues: Int,
    extraFlags: Int
)
open Unit
startIntentSenderForResult(
    intent: IntentSender,
    requestCode: Int,
    fillInIntent: Intent?,
    flagsMask: Int,
    flagsValues: Int,
    extraFlags: Int,
    options: Bundle?
)
open Unit
startIntentSenderFromChild(
    child: Activity,
    intent: IntentSender,
    requestCode: Int,
    fillInIntent: Intent,
    flagsMask: Int,
    flagsValues: Int,
    extraFlags: Int
)

This function is deprecated. Deprecated in Java

open Unit
startIntentSenderFromChild(
    child: Activity,
    intent: IntentSender,
    requestCode: Int,
    fillInIntent: Intent,
    flagsMask: Int,
    flagsValues: Int,
    extraFlags: Int,
    options: Bundle?
)

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Unit

This function is deprecated. Deprecated in Java

open Boolean
open Boolean
startNextMatchingActivity(intent: Intent, options: Bundle?)
open Unit
open Unit
startSearch(
    initialQuery: String?,
    selectInitialQuery: Boolean,
    appSearchData: Bundle?,
    globalSearch: Boolean
)
open Unit
open Unit
open Unit

This function is deprecated. Deprecated in Java

open Unit
open Unit
triggerSearch(query: String, appSearchData: Bundle?)
open Unit
open Unit
open Unit
From android.content.ComponentCallbacks
From android.content.ComponentCallbacks2
open Unit
onTrimMemory(level: Int)
From android.content.Context
open Boolean
bindIsolatedService(
    service: Intent,
    flags: Context.BindServiceFlags,
    instanceName: String,
    executor: Executor,
    conn: ServiceConnection
)
open Boolean
bindIsolatedService(
    service: Intent,
    flags: Int,
    instanceName: String,
    executor: Executor,
    conn: ServiceConnection
)
open Boolean
bindService(
    service: Intent,
    conn: ServiceConnection,
    flags: Context.BindServiceFlags
)
open Boolean
bindService(service: Intent, conn: ServiceConnection, flags: Int)
open Boolean
bindService(
    service: Intent,
    flags: Context.BindServiceFlags,
    executor: Executor,
    conn: ServiceConnection
)
open Boolean
bindService(
    service: Intent,
    flags: Int,
    executor: Executor,
    conn: ServiceConnection
)
open Boolean
bindServiceAsUser(
    service: Intent,
    conn: ServiceConnection,
    flags: Context.BindServiceFlags,
    user: UserHandle
)
open Boolean
bindServiceAsUser(
    service: Intent,
    conn: ServiceConnection,
    flags: Int,
    user: UserHandle
)
open Int
open Int
open IntArray
open Int
open Int
checkCallingUriPermission(uri: Uri, modeFlags: Int)
open IntArray
open Int
checkContentUriPermissionFull(uri: Uri, pid: Int, uid: Int, modeFlags: Int)
open Int
checkPermission(permission: String, pid: Int, uid: Int)
open Int
open Int
checkUriPermission(uri: Uri, pid: Int, uid: Int, modeFlags: Int)
open Int
checkUriPermission(
    uri: Uri?,
    readPermission: String?,
    writePermission: String?,
    pid: Int,
    uid: Int,
    modeFlags: Int
)
open IntArray
checkUriPermissions(
    uris: MutableList<Uri>,
    pid: Int,
    uid: Int,
    modeFlags: Int
)
open Unit

This function is deprecated. Deprecated in Java

open Context
createAttributionContext(attributionTag: String?)
open Context
createConfigurationContext(overrideConfiguration: Configuration)
open Context
createContext(contextParams: ContextParams)
open Context
open Context
open Context
open Context
open Context
createPackageContext(packageName: String, flags: Int)
open Context
createWindowContext(type: Int, options: Bundle?)
open Context
createWindowContext(display: Display, type: Int, options: Bundle?)
open Array<String>
open Boolean
open Boolean
open Boolean
open Unit
enforceCallingOrSelfPermission(permission: String, message: String?)
open Unit
enforceCallingOrSelfUriPermission(
    uri: Uri,
    modeFlags: Int,
    message: String
)
open Unit
enforceCallingPermission(permission: String, message: String?)
open Unit
enforceCallingUriPermission(uri: Uri, modeFlags: Int, message: String)
open Unit
enforcePermission(permission: String, pid: Int, uid: Int, message: String?)
open Unit
enforceUriPermission(
    uri: Uri,
    pid: Int,
    uid: Int,
    modeFlags: Int,
    message: String
)
open Unit
enforceUriPermission(
    uri: Uri?,
    readPermission: String?,
    writePermission: String?,
    pid: Int,
    uid: Int,
    modeFlags: Int,
    message: String?
)
open Array<String>
Int
ColorStateList
open File
open File
getDir(name: String, mode: Int)
Drawable?
open File?
open Array<File>
open File
open SharedPreferences
String
getString(resId: Int)
String
getString(resId: Int, vararg formatArgs: Any)
open Any
T
<T : Any> getSystemService(serviceClass: Class<T>)
open String?
getSystemServiceName(serviceClass: Class<*>)
CharSequence
getText(resId: Int)
open Unit
grantUriPermission(toPackage: String, uri: Uri, modeFlags: Int)
open Boolean
moveDatabaseFrom(sourceContext: Context, name: String)
open Boolean
moveSharedPreferencesFrom(sourceContext: Context, name: String)
TypedArray
TypedArray
TypedArray
TypedArray
obtainStyledAttributes(
    set: AttributeSet?,
    attrs: IntArray,
    defStyleAttr: Int,
    defStyleRes: Int
)
open FileInputStream
open FileOutputStream
openFileOutput(name: String, mode: Int)
open SQLiteDatabase
openOrCreateDatabase(
    name: String,
    mode: Int,
    factory: SQLiteDatabase.CursorFactory
)
open SQLiteDatabase
openOrCreateDatabase(
    name: String,
    mode: Int,
    factory: SQLiteDatabase.CursorFactory,
    errorHandler: DatabaseErrorHandler?
)
open Drawable

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Intent?
open Intent?
registerReceiver(
    receiver: BroadcastReceiver?,
    filter: IntentFilter,
    flags: Int
)
open Intent?
registerReceiver(
    receiver: BroadcastReceiver?,
    filter: IntentFilter,
    broadcastPermission: String?,
    scheduler: Handler?
)
open Intent?
registerReceiver(
    receiver: BroadcastReceiver?,
    filter: IntentFilter,
    broadcastPermission: String?,
    scheduler: Handler?,
    flags: Int
)
open Unit

This function is deprecated. Deprecated in Java

open Unit

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Unit
revokeUriPermission(uri: Uri, modeFlags: Int)
open Unit
revokeUriPermission(targetPackage: String, uri: Uri, modeFlags: Int)
open Unit
open Unit
sendBroadcast(intent: Intent, receiverPermission: String?)
open Unit
sendBroadcast(intent: Intent, receiverPermission: String?, options: Bundle?)
open Unit
open Unit
sendBroadcastAsUser(
    intent: Intent,
    user: UserHandle,
    receiverPermission: String?
)
open Unit
sendBroadcastWithMultiplePermissions(
    intent: Intent,
    receiverPermissions: Array<String>
)
open Unit
sendOrderedBroadcast(intent: Intent, receiverPermission: String?)
open Unit
sendOrderedBroadcast(
    intent: Intent,
    receiverPermission: String?,
    options: Bundle?
)
open Unit
sendOrderedBroadcast(
    intent: Intent,
    receiverPermission: String?,
    resultReceiver: BroadcastReceiver?,
    scheduler: Handler?,
    initialCode: Int,
    initialData: String?,
    initialExtras: Bundle?
)
open Unit
sendOrderedBroadcast(
    intent: Intent,
    receiverPermission: String?,
    options: Bundle?,
    resultReceiver: BroadcastReceiver?,
    scheduler: Handler?,
    initialCode: Int,
    initialData: String?,
    initialExtras: Bundle?
)
open Unit
sendOrderedBroadcast(
    intent: Intent,
    receiverPermission: String?,
    receiverAppOp: String?,
    resultReceiver: BroadcastReceiver?,
    scheduler: Handler?,
    initialCode: Int,
    initialData: String?,
    initialExtras: Bundle?
)
open Unit
sendOrderedBroadcastAsUser(
    intent: Intent,
    user: UserHandle,
    receiverPermission: String?,
    resultReceiver: BroadcastReceiver?,
    scheduler: Handler?,
    initialCode: Int,
    initialData: String?,
    initialExtras: Bundle?
)
open Unit

This function is deprecated. Deprecated in Java

open Unit
sendStickyBroadcast(intent: Intent, options: Bundle?)

This function is deprecated. Deprecated in Java

open Unit

This function is deprecated. Deprecated in Java

open Unit
sendStickyOrderedBroadcast(
    intent: Intent,
    resultReceiver: BroadcastReceiver?,
    scheduler: Handler?,
    initialCode: Int,
    initialData: String?,
    initialExtras: Bundle?
)

This function is deprecated. Deprecated in Java

open Unit
sendStickyOrderedBroadcastAsUser(
    intent: Intent,
    user: UserHandle,
    resultReceiver: BroadcastReceiver?,
    scheduler: Handler?,
    initialCode: Int,
    initialData: String?,
    initialExtras: Bundle?
)

This function is deprecated. Deprecated in Java

open Unit
setTheme(resid: Int)
open Unit

This function is deprecated. Deprecated in Java

open Unit

This function is deprecated. Deprecated in Java

open Unit
open Unit
startActivities(intents: Array<Intent>, options: Bundle?)
open Unit
open Unit
startActivity(intent: Intent, options: Bundle?)
open ComponentName?
open Boolean
startInstrumentation(
    className: ComponentName,
    profileFile: String?,
    arguments: Bundle?
)
open Unit
startIntentSender(
    intent: IntentSender,
    fillInIntent: Intent?,
    flagsMask: Int,
    flagsValues: Int,
    extraFlags: Int
)
open Unit
startIntentSender(
    intent: IntentSender,
    fillInIntent: Intent?,
    flagsMask: Int,
    flagsValues: Int,
    extraFlags: Int,
    options: Bundle?
)
open ComponentName?
startService(service: Intent)
open Boolean
open Unit
open Unit
open Unit
open Unit
open Unit
updateServiceGroup(conn: ServiceConnection, group: Int, importance: Int)
From android.view.ContextThemeWrapper
open Unit
applyOverrideConfiguration(overrideConfiguration: Configuration)
open Unit
onApplyThemeResource(theme: Resources.Theme, resid: Int, first: Boolean)
From android.content.ContextWrapper
open Unit
open Unit
sendOrderedBroadcast(
    intent: Intent,
    initialCode: Int,
    receiverPermission: String?,
    receiverAppOp: String?,
    resultReceiver: BroadcastReceiver?,
    scheduler: Handler?,
    initialData: String?,
    initialExtras: Bundle?,
    options: Bundle?
)
From android.view.KeyEvent.Callback
open Boolean
onKeyDown(keyCode: Int, event: KeyEvent)
open Boolean
onKeyLongPress(keyCode: Int, event: KeyEvent)
open Boolean
onKeyMultiple(keyCode: Int, repeatCount: Int, event: KeyEvent)
open Boolean
onKeyUp(keyCode: Int, event: KeyEvent)
From android.view.LayoutInflater.Factory
open View?
onCreateView(name: String, context: Context, attrs: AttributeSet)
From android.view.LayoutInflater.Factory2
open View?
onCreateView(
    parent: View?,
    name: String,
    context: Context,
    attrs: AttributeSet
)
From android.view.View.OnCreateContextMenuListener
open Unit
onCreateContextMenu(
    menu: ContextMenu,
    v: View,
    menuInfo: ContextMenu.ContextMenuInfo
)
From android.view.Window.Callback

Inherited properties

From android.app.Activity
open ActionBar?
Application
open ComponentCaller?
open ComponentName?
open String?
open Int
open ComponentName
open Scene
open TransitionManager
open ComponentCaller
open View?
open FragmentManager
open ComponentCaller
open Intent
open Boolean
open Boolean
Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open Any?
open String?
open Int
open LayoutInflater
open LoaderManager
open String
open Int
MediaController
open MenuInflater
open OnBackInvokedDispatcher
Activity
open Intent?
open Uri?
open Int
SearchEvent
SplashScreen
open Int
CharSequence
Int
open VoiceInteractor
Int
open Window
open WindowManager
From android.view.ContextThemeWrapper
From android.content.ContextWrapper

Public constructors

ActionTrampolineActivity

Added in 1.2.0-rc01
ActionTrampolineActivity()

Protected functions

onCreate

protected open fun onCreate(savedInstanceState: Bundle?): Unit