ListActivity Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An activity that displays a list of items by binding to a data source such as an array or Cursor, and exposes event handlers when the user selects an item.
[Android.Runtime.Register("android/app/ListActivity", DoNotGenerateAcw=true)]
public class ListActivity : Android.App.Activity
[<Android.Runtime.Register("android/app/ListActivity", DoNotGenerateAcw=true)>]
type ListActivity = class
inherit Activity
- Inheritance
- Derived
- Attributes
Remarks
An activity that displays a list of items by binding to a data source such as an array or Cursor, and exposes event handlers when the user selects an item.
ListActivity hosts a android.widget.ListView ListView
object that can be bound to different data sources, typically either an array or a Cursor holding query results. Binding, screen layout, and row layout are discussed in the following sections.
<strong>Screen Layout</strong>
ListActivity has a default layout that consists of a single, full-screen list in the center of the screen. However, if you desire, you can customize the screen layout by setting your own view layout with setContentView() in onCreate(). To do this, your own view MUST contain a ListView object with the id "
This member is deprecated. Use androidx.fragment.app.ListFragment
or androidx.recyclerview.widget.RecyclerView
to implement your Activity instead.
Java documentation for android.app.ListActivity
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Constructors
ListActivity() | |
ListActivity(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Fields
AccessibilityService |
Use with |
AccountService |
Use with |
ActivityService |
Use with |
AlarmService |
Use with |
AppOpsService |
Use with |
AppSearchService |
Use with |
AppwidgetService |
Use with |
AudioService |
Use with |
BatteryService |
Use with |
BindAllowActivityStarts |
Obsolete.
Flag for |
BindExternalServiceLong |
Works in the same way as |
BindNotPerceptible |
Obsolete.
Flag for |
BindSharedIsolatedProcess |
Obsolete.
Flag for |
BiometricService |
Use with |
BlobStoreService |
Use with |
BluetoothService |
Use with |
BugreportService |
Service to capture a bugreport. (Inherited from Context) |
CameraService |
Use with |
CaptioningService |
Use with |
CarrierConfigService |
Use with |
ClipboardService |
Use with |
CompanionDeviceService |
Use with |
ConnectivityDiagnosticsService |
Use with |
ConnectivityService |
Use with |
ConsumerIrService |
Use with |
CredentialService |
Use with |
CrossProfileAppsService |
Use with |
DeviceIdDefault |
The default device ID, which is the ID of the primary (non-virtual) device. (Inherited from Context) |
DeviceIdInvalid |
Invalid device ID. (Inherited from Context) |
DeviceLockService |
Use with |
DevicePolicyService |
Use with |
DisplayHashService |
Use with |
DisplayService |
Use with |
DomainVerificationService |
Use with |
DownloadService |
Use with |
DropboxService |
Use with |
EuiccService |
Use with |
FileIntegrityService |
Use with |
FingerprintService |
Use with |
FullscreenModeRequestEnter |
Obsolete.
Request type of |
FullscreenModeRequestExit |
Obsolete.
Request type of |
GameService |
Use with |
GrammaticalInflectionService |
Use with |
HardwarePropertiesService |
Use with |
HealthconnectService |
Use with |
InputMethodService |
Use with |
InputService |
Use with |
IpsecService |
Use with |
JobSchedulerService |
Use with |
KeyguardService |
Use with |
LauncherAppsService |
Use with |
LayoutInflaterService |
Use with |
LocaleService |
Use with |
LocationService |
Use with |
MediaCommunicationService |
Use with |
MediaMetricsService |
Use with |
MediaProjectionService |
Use with |
MediaRouterService |
Use with |
MediaSessionService |
Use with |
MidiService |
Use with |
NetworkStatsService |
Use with |
NfcService |
Use with |
NotificationService |
Use with |
NsdService |
Use with |
OverlayService |
Use with |
OverrideTransitionClose |
Obsolete.
Request type of |
OverrideTransitionOpen |
Obsolete.
Request type of |
PeopleService |
Use with |
PerformanceHintService |
Use with |
PowerService |
Use with |
PrintService |
|
ReceiverExported |
Obsolete.
Flag for |
ReceiverNotExported |
Obsolete.
Flag for |
ReceiverVisibleToInstantApps |
Obsolete.
Flag for |
RestrictionsService |
Use with |
RoleService |
Use with |
SearchService |
Use with |
SensorService |
Use with |
ShortcutService |
Use with |
StatusBarService |
Use with |
StorageService |
Use with |
StorageStatsService |
Use with |
SystemHealthService |
Use with |
TelecomService |
Use with |
TelephonyImsService |
Use with |
TelephonyService |
Use with |
TelephonySubscriptionService |
Use with |
TextClassificationService |
Use with |
TextServicesManagerService |
Use with |
TvInputService |
Use with |
TvInteractiveAppService |
Use with |
UiModeService |
Use with |
UsageStatsService |
Use with |
UsbService |
Use with |
UserService |
Use with |
VibratorManagerService |
Use with |
VibratorService |
Use with |
VirtualDeviceService |
Use with |
VpnManagementService |
Use with |
WallpaperService |
Use with |
WifiAwareService |
Use with |
WifiP2pService |
Use with |
WifiRttRangingService |
Use with |
WifiService |
Use with |
WindowService |
Use with |
Properties
ActionBar |
Retrieve a reference to this activity's ActionBar. (Inherited from Activity) |
Application |
Return the application that owns this activity. (Inherited from Activity) |
ApplicationContext |
Return the context of the single, global Application object of the current process. (Inherited from ContextWrapper) |
ApplicationInfo |
Return the full application info for this context's package. (Inherited from ContextWrapper) |
Assets |
Return an AssetManager instance for your application's package. (Inherited from ContextWrapper) |
AttributionSource | (Inherited from Context) |
AttributionTag |
Attribution can be used in complex apps to logically separate parts of the app. (Inherited from Context) |
BaseContext | (Inherited from ContextWrapper) |
CacheDir |
Returns the absolute path to the application specific cache directory on the filesystem. (Inherited from ContextWrapper) |
CallingActivity |
Return the name of the activity that invoked this activity. (Inherited from Activity) |
CallingPackage |
Return the name of the package that invoked this activity. (Inherited from Activity) |
ChangingConfigurations |
If this activity is being destroyed because it can not handle a
configuration parameter being changed (and thus its
|
Class |
Returns the runtime class of this |
ClassLoader |
Return a class loader you can use to retrieve classes in this package. (Inherited from ContextWrapper) |
CodeCacheDir |
Returns the absolute path to the application specific cache directory on the filesystem designed for storing cached code. (Inherited from ContextWrapper) |
ComponentName |
Returns the complete component name of this activity. (Inherited from Activity) |
ContentResolver |
Return a ContentResolver instance for your application's package. (Inherited from ContextWrapper) |
ContentScene |
Retrieve the |
ContentTransitionManager |
Retrieve the |
CurrentFocus |
Calls |
DataDir | (Inherited from ContextWrapper) |
DeviceId |
Gets the device ID this context is associated with. (Inherited from Context) |
Display |
Get the display this context is associated with. (Inherited from Context) |
ExternalCacheDir |
Returns the absolute path to the directory on the primary external filesystem (that is somewhere on ExternalStorageDirectory where the application can place cache files it owns. (Inherited from ContextWrapper) |
FilesDir |
Returns the absolute path to the directory on the filesystem where files created with OpenFileOutput(String, FileCreationMode) are stored. (Inherited from ContextWrapper) |
FragmentManager |
Return the FragmentManager for interacting with fragments associated with this activity. (Inherited from Activity) |
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
HasWindowFocus |
Returns true if this activity's <em>main</em> window currently has window focus. (Inherited from Activity) |
Immersive |
Bit indicating that this activity is "immersive" and should not be interrupted by notifications if possible. -or- Adjust the current immersive mode setting. (Inherited from Activity) |
Intent |
Return the intent that started this activity. -or- Change the intent returned by |
IsActivityTransitionRunning |
Returns whether there are any activity transitions currently running on this activity. (Inherited from Activity) |
IsChangingConfigurations |
Check to see whether this activity is in the process of being destroyed in order to be recreated with a new configuration. (Inherited from Activity) |
IsChild |
Is this activity embedded inside of another activity? (Inherited from Activity) |
IsDestroyed |
Returns true if the final |
IsDeviceProtectedStorage | (Inherited from ContextWrapper) |
IsFinishing |
Check to see whether this activity is in the process of finishing,
either because you called |
IsInMultiWindowMode |
Returns true if the activity is currently in multi-window mode. (Inherited from Activity) |
IsInPictureInPictureMode |
Returns true if the activity is currently in picture-in-picture mode. (Inherited from Activity) |
IsLaunchedFromBubble |
Indicates whether this activity is launched from a bubble. (Inherited from Activity) |
IsLocalVoiceInteractionSupported |
Queries whether the currently enabled voice interaction service supports returning a voice interactor for use by the activity. (Inherited from Activity) |
IsRestricted |
Indicates whether this Context is restricted. (Inherited from Context) |
IsTaskRoot |
Return whether this activity is the root of a task. (Inherited from Activity) |
IsUiContext |
Returns |
IsVoiceInteraction |
Check whether this activity is running as part of a voice interaction with the user. (Inherited from Activity) |
IsVoiceInteractionRoot |
Like |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
LastNonConfigurationInstance |
Retrieve the non-configuration instance data that was previously
returned by |
LaunchedFromPackage |
Returns the package name of the app that initially launched this activity. (Inherited from Activity) |
LaunchedFromUid |
Returns the uid of the app that initially launched this activity. (Inherited from Activity) |
LayoutInflater |
Convenience for calling
|
ListAdapter |
Get the ListAdapter associated with this activity's ListView. -or- Provide the cursor for the list view. |
ListView |
Get the activity's list view widget. |
LoaderManager |
Return the LoaderManager for this activity, creating it if needed. (Inherited from Activity) |
LocalClassName |
Returns class name for this activity with the package prefix removed. (Inherited from Activity) |
MainExecutor |
Return an |
MainLooper |
Return the Looper for the main thread of the current process. (Inherited from ContextWrapper) |
MaxNumPictureInPictureActions |
Return the number of actions that will be displayed in the picture-in-picture UI when the user interacts with the activity currently in picture-in-picture mode. (Inherited from Activity) |
MediaController |
Gets the controller which should be receiving media key and volume events
while this activity is in the foreground. -or- Sets a |
MenuInflater |
Returns a |
NoBackupFilesDir |
Returns the absolute path to the directory on the filesystem similar to FilesDir. (Inherited from ContextWrapper) |
ObbDir |
Return the primary external storage directory where this application's OBB files (if there are any) can be found. (Inherited from ContextWrapper) |
OnBackInvokedDispatcher |
Returns the |
OpPackageName |
Return the package name that should be used for |
PackageCodePath |
Return the full path to this context's primary Android package. (Inherited from ContextWrapper) |
PackageManager |
Return PackageManager instance to find global package information. (Inherited from ContextWrapper) |
PackageName |
Return the name of this application's package. (Inherited from ContextWrapper) |
PackageResourcePath |
Return the full path to this context's primary Android package. (Inherited from ContextWrapper) |
Params |
Return the set of parameters which this Context was created with, if it
was created via |
Parent |
Return the parent activity if this view is an embedded child. (Inherited from Activity) |
ParentActivityIntent |
Obtain an |
PeerReference | (Inherited from Object) |
Referrer |
Return information about who launched this activity. (Inherited from Activity) |
RequestedOrientation |
Return the current requested orientation of the activity. -or- Change the desired orientation of this activity. (Inherited from Activity) |
Resources |
Return a Resources instance for your application's package. (Inherited from ContextWrapper) |
SearchEvent |
During the onSearchRequested() callbacks, this function will return the
|
SelectedItemId |
Get the cursor row ID of the currently selected list item. |
SelectedItemPosition |
Get the position of the currently selected list item. |
SplashScreen |
Get the interface that activity use to talk to the splash screen. (Inherited from Activity) |
TaskId |
Return the identifier of the task this activity is in. (Inherited from Activity) |
Theme |
Return the Theme object associated with this Context. (Inherited from ContextWrapper) |
ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Title | (Inherited from Activity) |
TitleColor |
Obsolete.
Change the color of the title associated with this activity. (Inherited from Activity) |
TitleFormatted |
Change the title associated with this activity. (Inherited from Activity) |
VoiceInteractor |
Retrieve the active |
VolumeControlStream |
Gets the suggested audio stream whose volume should be changed by the hardware volume controls. -or- Suggests an audio stream whose volume should be changed by the hardware volume controls. (Inherited from Activity) |
Wallpaper | (Inherited from ContextWrapper) |
WallpaperDesiredMinimumHeight | (Inherited from ContextWrapper) |
WallpaperDesiredMinimumWidth | (Inherited from ContextWrapper) |
Window |
Retrieve the current |
WindowManager |
Retrieve the window manager for showing custom windows. (Inherited from Activity) |
Methods
AddContentView(View, ViewGroup+LayoutParams) |
Add an additional content view to the activity. (Inherited from Activity) |
ApplyOverrideConfiguration(Configuration) |
Call to set an "override configuration" on this context -- this is a configuration that replies one or more values of the standard configuration that is applied to the context. (Inherited from ContextThemeWrapper) |
AttachBaseContext(Context) |
Set the base context for this ContextWrapper. (Inherited from ContextWrapper) |
BindService(Intent, Bind, IExecutor, IServiceConnection) |
Same as |
BindService(Intent, Context+BindServiceFlags, IExecutor, IServiceConnection) | (Inherited from Context) |
BindService(Intent, IServiceConnection, Bind) |
Connect to an application service, creating it if needed. (Inherited from ContextWrapper) |
BindService(Intent, IServiceConnection, Context+BindServiceFlags) | (Inherited from Context) |
BindServiceAsUser(Intent, IServiceConnection, Context+BindServiceFlags, UserHandle) | (Inherited from Context) |
BindServiceAsUser(Intent, IServiceConnection, Int32, UserHandle) |
Binds to a service in the given |
CheckCallingOrSelfPermission(String) |
Determine whether the calling process of an IPC or you have been granted a particular permission. (Inherited from ContextWrapper) |
CheckCallingOrSelfUriPermission(Uri, ActivityFlags) |
Determine whether the calling process of an IPC or you has been granted permission to access a specific URI. (Inherited from ContextWrapper) |
CheckCallingOrSelfUriPermissions(IList<Uri>, Int32) |
Determine whether the calling process of an IPC <em>or you</em> has been granted permission to access a list of URIs. (Inherited from Context) |
CheckCallingPermission(String) |
Determine whether the calling process of an IPC you are handling has been granted a particular permission. (Inherited from ContextWrapper) |
CheckCallingUriPermission(Uri, ActivityFlags) |
Determine whether the calling process and user ID has been granted permission to access a specific URI. (Inherited from ContextWrapper) |
CheckCallingUriPermissions(IList<Uri>, Int32) |
Determine whether the calling process and user ID has been granted permission to access a list of URIs. (Inherited from Context) |
CheckPermission(String, Int32, Int32) |
Determine whether the given permission is allowed for a particular process and user ID running in the system. (Inherited from ContextWrapper) |
CheckSelfPermission(String) | (Inherited from ContextWrapper) |
CheckUriPermission(Uri, Int32, Int32, ActivityFlags) |
Determine whether a particular process and user ID has been granted permission to access a specific URI. (Inherited from ContextWrapper) |
CheckUriPermission(Uri, String, String, Int32, Int32, ActivityFlags) |
Check both a Uri and normal permission. (Inherited from ContextWrapper) |
CheckUriPermissions(IList<Uri>, Int32, Int32, Int32) |
Determine whether a particular process and user ID has been granted permission to access a list of URIs. (Inherited from Context) |
ClearOverrideActivityTransition(OverrideTransition) |
Clears the animations which are set from |
ClearWallpaper() |
Obsolete.
(Inherited from ContextWrapper)
|
Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
CloseContextMenu() |
Programmatically closes the most recently opened context menu, if showing. (Inherited from Activity) |
CloseOptionsMenu() |
Progammatically closes the options menu. (Inherited from Activity) |
CreateAttributionContext(String) |
Return a new Context object for the current Context but attribute to a different tag. (Inherited from Context) |
CreateConfigurationContext(Configuration) |
Return a new Context object for the current Context but whose resources are adjusted to match the given Configuration. (Inherited from ContextWrapper) |
CreateContext(ContextParams) |
Creates a context with specific properties and behaviors. (Inherited from Context) |
CreateContextForSplit(String) | (Inherited from ContextWrapper) |
CreateDeviceContext(Int32) |
Returns a new |
CreateDeviceProtectedStorageContext() | (Inherited from ContextWrapper) |
CreateDisplayContext(Display) |
Return a new Context object for the current Context but whose resources are adjusted to match the metrics of the given Display. (Inherited from ContextWrapper) |
CreatePackageContext(String, PackageContextFlags) |
Return a new Context object for the given application name. (Inherited from ContextWrapper) |
CreatePendingResult(Int32, Intent, PendingIntentFlags) |
Create a new PendingIntent object which you can hand to others
for them to use to send result data back to your
|
CreateWindowContext(Display, Int32, Bundle) |
Creates a |
CreateWindowContext(Int32, Bundle) |
Creates a Context for a non-activity window. (Inherited from Context) |
DatabaseList() |
Returns an array of strings naming the private databases associated with this Context's application package. (Inherited from ContextWrapper) |
DeleteDatabase(String) |
Delete an existing private SQLiteDatabase associated with this Context's application package. (Inherited from ContextWrapper) |
DeleteFile(String) |
Delete the given private file associated with this Context's application package. (Inherited from ContextWrapper) |
DeleteSharedPreferences(String) | (Inherited from ContextWrapper) |
DismissDialog(Int32) |
Obsolete.
Dismiss a dialog that was previously shown via |
DismissKeyboardShortcutsHelper() |
Dismiss the Keyboard Shortcuts screen. (Inherited from Activity) |
DispatchGenericMotionEvent(MotionEvent) |
Called to process generic motion events. (Inherited from Activity) |
DispatchKeyEvent(KeyEvent) |
Called to process key events. (Inherited from Activity) |
DispatchKeyShortcutEvent(KeyEvent) |
Called to process a key shortcut event. (Inherited from Activity) |
DispatchPopulateAccessibilityEvent(AccessibilityEvent) |
Called to process population of AccessibilityEvents. (Inherited from Activity) |
DispatchTouchEvent(MotionEvent) |
Called to process touch screen events. (Inherited from Activity) |
DispatchTrackballEvent(MotionEvent) |
Called to process trackball events. (Inherited from Activity) |
Dispose() | (Inherited from Object) |
Dispose(Boolean) | (Inherited from Object) |
Dump(String, FileDescriptor, PrintWriter, String[]) |
Print the Activity's state into the given stream. (Inherited from Activity) |
EnforceCallingOrSelfPermission(String, String) |
If neither you nor the calling process of an IPC you are handling has been granted a particular permission, throw a SecurityException. (Inherited from ContextWrapper) |
EnforceCallingOrSelfUriPermission(Uri, ActivityFlags, String) |
If the calling process of an IPC or you has not been granted permission to access a specific URI, throw SecurityException. (Inherited from ContextWrapper) |
EnforceCallingPermission(String, String) |
If the calling process of an IPC you are handling has not been granted a particular permission, throw a SecurityException. (Inherited from ContextWrapper) |
EnforceCallingUriPermission(Uri, ActivityFlags, String) |
If the calling process and user ID has not been granted permission to access a specific URI, throw SecurityException. (Inherited from ContextWrapper) |
EnforcePermission(String, Int32, Int32, String) |
If the given permission is not allowed for a particular process and user ID running in the system, throw a SecurityException. (Inherited from ContextWrapper) |
EnforceUriPermission(Uri, Int32, Int32, ActivityFlags, String) |
If a particular process and user ID has not been granted permission to access a specific URI, throw SecurityException. (Inherited from ContextWrapper) |
EnforceUriPermission(Uri, String, String, Int32, Int32, ActivityFlags, String) |
Enforce both a Uri and normal permission. (Inherited from ContextWrapper) |
EnterPictureInPictureMode() |
Puts the activity in picture-in-picture mode if possible in the current system state. (Inherited from Activity) |
EnterPictureInPictureMode(PictureInPictureParams) |
Puts the activity in picture-in-picture mode if possible in the current system state. (Inherited from Activity) |
Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
FileList() |
Returns an array of strings naming the private files associated with this Context's application package. (Inherited from ContextWrapper) |
FindViewById(Int32) |
Finds a view that was identified by the |
FindViewById<T>(Int32) |
Finds a view that was identified by the id attribute from the XML layout resource. (Inherited from Activity) |
Finish() |
Call this when your activity is done and should be closed. (Inherited from Activity) |
FinishActivity(Int32) |
Force finish another activity that you had previously started with
|
FinishActivityFromChild(Activity, Int32) |
This is called when a child activity of this one calls its finishActivity(). (Inherited from Activity) |
FinishAffinity() |
Finish this activity as well as all activities immediately below it in the current task that have the same affinity. (Inherited from Activity) |
FinishAfterTransition() |
Reverses the Activity Scene entry Transition and triggers the calling Activity to reverse its exit Transition. (Inherited from Activity) |
FinishAndRemoveTask() |
Call this when your activity is done and should be closed and the task should be completely removed as a part of finishing the root activity of the task. (Inherited from Activity) |
FinishFromChild(Activity) |
This is called when a child activity of this one calls its
|
GetColor(Int32) |
Returns a color associated with a particular resource ID and styled for the current theme. (Inherited from Context) |
GetColorStateList(Int32) |
Returns a color state list associated with a particular resource ID and styled for the current theme. (Inherited from Context) |
GetDatabasePath(String) | (Inherited from ContextWrapper) |
GetDir(String, FileCreationMode) |
Retrieve, creating if needed, a new directory in which the application can place its own custom data files. (Inherited from ContextWrapper) |
GetDrawable(Int32) |
Returns a drawable object associated with a particular resource ID and styled for the current theme. (Inherited from Context) |
GetExternalCacheDirs() |
Returns absolute paths to application-specific directories on all external storage devices where the application can place cache files it owns. (Inherited from ContextWrapper) |
GetExternalFilesDir(String) |
Returns the absolute path to the directory on the primary external filesystem (that is somewhere on ExternalStorageDirectory) where the application can place persistent files it owns. (Inherited from ContextWrapper) |
GetExternalFilesDirs(String) |
Returns absolute paths to application-specific directories on all external storage devices where the application can place persistent files it owns. (Inherited from ContextWrapper) |
GetExternalMediaDirs() |
Obsolete.
Returns absolute paths to application-specific directories on all external storage devices where the application can place media files. (Inherited from ContextWrapper) |
GetFileStreamPath(String) |
Returns the absolute path on the filesystem where a file created with OpenFileOutput(String, FileCreationMode) is stored. (Inherited from ContextWrapper) |
GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
GetObbDirs() |
Returns absolute paths to application-specific directories on all external storage devices where the application's OBB files (if there are any) can be found. (Inherited from ContextWrapper) |
GetPreferences(FileCreationMode) |
Retrieve a |
GetSharedPreferences(String, FileCreationMode) |
Retrieve and hold the contents of the preferences file 'name', returning a SharedPreferences through which you can retrieve and modify its values. (Inherited from ContextWrapper) |
GetString(Int32, Object[]) |
Returns a localized string from the application's package's default string table. (Inherited from Context) |
GetString(Int32) |
Returns a localized string from the application's package's default string table. (Inherited from Context) |
GetSystemService(Class) |
Return the handle to a system-level service by class. (Inherited from Context) |
GetSystemService(String) |
Return the handle to a system-level service by name. (Inherited from ContextWrapper) |
GetSystemServiceName(Class) | (Inherited from ContextWrapper) |
GetText(Int32) |
Return a localized, styled CharSequence from the application's package's default string table. (Inherited from Context) |
GetTextFormatted(Int32) |
Return a localized, styled CharSequence from the application's package's default string table. (Inherited from Context) |
GrantUriPermission(String, Uri, ActivityFlags) |
Grant permission to access a specific Uri to another package, regardless of whether that package has general permission to access the Uri's content provider. (Inherited from ContextWrapper) |
InvalidateOptionsMenu() |
Declare that the options menu has changed, so should be recreated. (Inherited from Activity) |
JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
ManagedQuery(Uri, String[], String, String[], String) |
Obsolete.
Wrapper around
|
MoveDatabaseFrom(Context, String) | (Inherited from ContextWrapper) |
MoveSharedPreferencesFrom(Context, String) | (Inherited from ContextWrapper) |
MoveTaskToBack(Boolean) |
Move the task containing this activity to the back of the activity stack. (Inherited from Activity) |
NavigateUpTo(Intent) |
Navigate from this activity to the activity specified by upIntent, finishing this activity in the process. (Inherited from Activity) |
NavigateUpToFromChild(Activity, Intent) |
This is called when a child activity of this one calls its
|
Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
ObtainStyledAttributes(IAttributeSet, Int32[], Int32, Int32) |
Retrieve styled attribute information in this Context's theme. (Inherited from Context) |
ObtainStyledAttributes(IAttributeSet, Int32[]) |
Retrieve styled attribute information in this Context's theme. (Inherited from Context) |
ObtainStyledAttributes(Int32, Int32[]) |
Retrieve styled attribute information in this Context's theme. (Inherited from Context) |
ObtainStyledAttributes(Int32[]) |
Retrieve styled attribute information in this Context's theme. (Inherited from Context) |
OnActionModeFinished(ActionMode) |
Notifies the activity that an action mode has finished. (Inherited from Activity) |
OnActionModeStarted(ActionMode) |
Notifies the Activity that an action mode has been started. (Inherited from Activity) |
OnActivityReenter(Int32, Intent) |
Called when an activity you launched with an activity transition exposes this Activity through a returning activity transition, giving you the resultCode and any additional data from it. (Inherited from Activity) |
OnActivityResult(Int32, Result, Intent) |
Called when an activity you launched exits, giving you the requestCode you started it with, the resultCode it returned, and any additional data from it. (Inherited from Activity) |
OnApplyThemeResource(Resources+Theme, Int32, Boolean) |
Called by |
OnAttachedToWindow() |
Called when the main window associated with the activity has been attached to the window manager. (Inherited from Activity) |
OnAttachFragment(Fragment) |
Called when a Fragment is being attached to this activity, immediately
after the call to its |
OnBackPressed() |
Called when the activity has detected the user's press of the back key. (Inherited from Activity) |
OnChildTitleChanged(Activity, ICharSequence) | (Inherited from Activity) |
OnChildTitleChanged(Activity, String) | (Inherited from Activity) |
OnConfigurationChanged(Configuration) |
Called by the system when the device configuration changes while your activity is running. (Inherited from Activity) |
OnContentChanged() |
This hook is called whenever the content view of the screen changes (due to a call to M:Android.Views.Window.SetContentView(Android.Views.View,.LayoutParams) or AddContentView(View, ViewGroup+LayoutParams)). (Inherited from Activity) |
OnContextItemSelected(IMenuItem) |
This hook is called whenever an item in a context menu is selected. (Inherited from Activity) |
OnContextMenuClosed(IMenu) |
This hook is called whenever the context menu is being closed (either by the user canceling the menu with the back/menu button, or when an item is selected). (Inherited from Activity) |
OnCreate(Bundle, PersistableBundle) |
Same as |
OnCreate(Bundle) |
Called when the activity is starting. (Inherited from Activity) |
OnCreateContextMenu(IContextMenu, View, IContextMenuContextMenuInfo) |
Called when a context menu for the |
OnCreateDescription() |
Generate a new description for this activity. (Inherited from Activity) |
OnCreateDescriptionFormatted() |
Generate a new description for this activity. (Inherited from Activity) |
OnCreateDialog(Int32, Bundle) |
Obsolete.
Callback for creating dialogs that are managed (saved and restored) for you by the activity. (Inherited from Activity) |
OnCreateDialog(Int32) |
Obsolete.
This member is deprecated. (Inherited from Activity) |
OnCreateNavigateUpTaskStack(TaskStackBuilder) |
Define the synthetic task stack that will be generated during Up navigation from a different task. (Inherited from Activity) |
OnCreateOptionsMenu(IMenu) |
Initialize the contents of the Activity's standard options menu. (Inherited from Activity) |
OnCreatePanelMenu(Int32, IMenu) |
Default implementation of
|
OnCreatePanelView(Int32) |
Default implementation of
|
OnCreateThumbnail(Bitmap, Canvas) |
This member is deprecated. (Inherited from Activity) |
OnCreateView(String, Context, IAttributeSet) |
Standard implementation of
|
OnCreateView(View, String, Context, IAttributeSet) |
Standard implementation of
|
OnDestroy() |
Perform any final cleanup before an activity is destroyed. (Inherited from Activity) |
OnDetachedFromWindow() |
Called when the main window associated with the activity has been detached from the window manager. (Inherited from Activity) |
OnEnterAnimationComplete() |
Activities cannot draw during the period that their windows are animating in. (Inherited from Activity) |
OnGenericMotionEvent(MotionEvent) |
Called when a generic motion event was not handled by any of the views inside of the activity. (Inherited from Activity) |
OnGetDirectActions(CancellationSignal, IConsumer) |
Returns the list of direct actions supported by the app. (Inherited from Activity) |
OnKeyDown(Keycode, KeyEvent) |
Called when a key was pressed down and not handled by any of the views inside of the activity. (Inherited from Activity) |
OnKeyLongPress(Keycode, KeyEvent) |
Default implementation of |
OnKeyMultiple(Keycode, Int32, KeyEvent) |
Default implementation of |
OnKeyShortcut(Keycode, KeyEvent) |
Called when a key shortcut event is not handled by any of the views in the Activity. (Inherited from Activity) |
OnKeyUp(Keycode, KeyEvent) |
Called when a key was released and not handled by any of the views inside of the activity. (Inherited from Activity) |
OnListItemClick(ListView, View, Int32, Int64) |
This method will be called when an item in the list is selected. |
OnLocalVoiceInteractionStarted() |
Callback to indicate that |
OnLocalVoiceInteractionStopped() |
Callback to indicate that the local voice interaction has stopped either
because it was requested through a call to |
OnLowMemory() |
This is called when the overall system is running low on memory, and actively running processes should trim their memory usage. (Inherited from Activity) |
OnMenuItemSelected(Int32, IMenuItem) |
Default implementation of
|
OnMenuOpened(Int32, IMenu) |
To be added (Inherited from Activity) |
OnMultiWindowModeChanged(Boolean, Configuration) |
Called by the system when the activity changes from fullscreen mode to multi-window mode and visa-versa. (Inherited from Activity) |
OnMultiWindowModeChanged(Boolean) |
Called by the system when the activity changes from fullscreen mode to multi-window mode and visa-versa. (Inherited from Activity) |
OnNavigateUp() |
This method is called whenever the user chooses to navigate Up within your application's activity hierarchy from the action bar. (Inherited from Activity) |
OnNavigateUpFromChild(Activity) |
This is called when a child activity of this one attempts to navigate up. (Inherited from Activity) |
OnNewIntent(Intent) |
This is called for activities that set launchMode to "singleTop" in
their package, or if a client used the |
OnOptionsItemSelected(IMenuItem) |
This hook is called whenever an item in your options menu is selected. (Inherited from Activity) |
OnOptionsMenuClosed(IMenu) |
This hook is called whenever the options menu is being closed (either by the user canceling the menu with the back/menu button, or when an item is selected). (Inherited from Activity) |
OnPanelClosed(Int32, IMenu) |
Default implementation of
|
OnPause() |
Called as part of the activity lifecycle when the user no longer actively interacts with the activity, but it is still visible on screen. (Inherited from Activity) |
OnPerformDirectAction(String, Bundle, CancellationSignal, IConsumer) |
This is called to perform an action previously defined by the app. (Inherited from Activity) |
OnPictureInPictureModeChanged(Boolean, Configuration) |
Called by the system when the activity changes to and from picture-in-picture mode. (Inherited from Activity) |
OnPictureInPictureModeChanged(Boolean) |
Called by the system when the activity changes to and from picture-in-picture mode. (Inherited from Activity) |
OnPictureInPictureRequested() |
This method is called by the system in various cases where picture in picture mode should be entered if supported. (Inherited from Activity) |
OnPictureInPictureUiStateChanged(PictureInPictureUiState) |
Called by the system when the activity is in PiP and has state changes. (Inherited from Activity) |
OnPostCreate(Bundle, PersistableBundle) |
This is the same as |
OnPostCreate(Bundle) |
Called when activity start-up is complete (after |
OnPostResume() |
Called when activity resume is complete (after |
OnPrepareDialog(Int32, Dialog, Bundle) |
Obsolete.
Provides an opportunity to prepare a managed dialog before it is being shown. (Inherited from Activity) |
OnPrepareDialog(Int32, Dialog) |
Obsolete.
This member is deprecated. (Inherited from Activity) |
OnPrepareNavigateUpTaskStack(TaskStackBuilder) |
Prepare the synthetic task stack that will be generated during Up navigation from a different task. (Inherited from Activity) |
OnPrepareOptionsMenu(IMenu) |
Prepare the Screen's standard options menu to be displayed. (Inherited from Activity) |
OnPreparePanel(Int32, View, IMenu) |
Default implementation of
|
OnProvideAssistContent(AssistContent) |
This is called when the user is requesting an assist, to provide references to content related to the current activity. (Inherited from Activity) |
OnProvideAssistData(Bundle) |
This is called when the user is requesting an assist, to build a full
|
OnProvideKeyboardShortcuts(IList<KeyboardShortcutGroup>, IMenu, Int32) | (Inherited from Activity) |
OnProvideReferrer() |
Override to generate the desired referrer for the content currently being shown by the app. (Inherited from Activity) |
OnRequestPermissionsResult(Int32, String[], Permission[]) |
Callback for the result from requesting permissions. (Inherited from Activity) |
OnRestart() |
Called after |
OnRestoreInstanceState(Bundle, PersistableBundle) |
This is the same as |
OnRestoreInstanceState(Bundle) |
This method is called after |
OnResume() |
Called after |
OnRetainNonConfigurationInstance() |
Called by the system, as part of destroying an activity due to a configuration change, when it is known that a new instance will immediately be created for the new configuration. (Inherited from Activity) |
OnSaveInstanceState(Bundle, PersistableBundle) |
This is the same as |
OnSaveInstanceState(Bundle) |
Called to retrieve per-instance state from an activity before being killed
so that the state can be restored in |
OnSearchRequested() |
Called when the user signals the desire to start a search. (Inherited from Activity) |
OnSearchRequested(SearchEvent) |
This hook is called when the user signals the desire to start a search. (Inherited from Activity) |
OnStart() |
Called after |
OnStateNotSaved() |
Called when an |
OnStop() |
Called when you are no longer visible to the user. (Inherited from Activity) |
OnTitleChanged(ICharSequence, Color) | (Inherited from Activity) |
OnTitleChanged(String, Color) | (Inherited from Activity) |
OnTopResumedActivityChanged(Boolean) |
Called when activity gets or loses the top resumed position in the system. (Inherited from Activity) |
OnTouchEvent(MotionEvent) |
Called when a touch screen event was not handled by any of the views inside of the activity. (Inherited from Activity) |
OnTrackballEvent(MotionEvent) |
Called when the trackball was moved and not handled by any of the views inside of the activity. (Inherited from Activity) |
OnTrimMemory(TrimMemory) |
Called when the operating system has determined that it is a good time for a process to trim unneeded memory from its process. (Inherited from Activity) |
OnUserInteraction() |
Called whenever a key, touch, or trackball event is dispatched to the activity. (Inherited from Activity) |
OnUserLeaveHint() |
Called as part of the activity lifecycle when an activity is about to go into the background as the result of user choice. (Inherited from Activity) |
OnVisibleBehindCanceled() |
Called when a translucent activity over this activity is becoming opaque or another activity is being launched. (Inherited from Activity) |
OnWindowAttributesChanged(WindowManagerLayoutParams) |
This is called whenever the current window attributes change. (Inherited from Activity) |
OnWindowFocusChanged(Boolean) |
Called when the current |
OnWindowStartingActionMode(ActionMode+ICallback, ActionModeType) |
Give the Activity a chance to control the UI for an action mode requested by the system. (Inherited from Activity) |
OnWindowStartingActionMode(ActionMode+ICallback) |
Give the Activity a chance to control the UI for an action mode requested by the system. (Inherited from Activity) |
OpenContextMenu(View) |
Programmatically opens the context menu for a particular |
OpenFileInput(String) |
Open a private file associated with this Context's application package for reading. (Inherited from ContextWrapper) |
OpenFileOutput(String, FileCreationMode) |
Open a private file associated with this Context's application package for writing. (Inherited from ContextWrapper) |
OpenOptionsMenu() |
Programmatically opens the options menu. (Inherited from Activity) |
OpenOrCreateDatabase(String, FileCreationMode, SQLiteDatabase+ICursorFactory, IDatabaseErrorHandler) |
Open a new private SQLiteDatabase associated with this Context's application package. (Inherited from ContextWrapper) |
OpenOrCreateDatabase(String, FileCreationMode, SQLiteDatabase+ICursorFactory) |
Open a new private SQLiteDatabase associated with this Context's application package. (Inherited from ContextWrapper) |
OverrideActivityTransition(OverrideTransition, Int32, Int32, Int32) |
Customizes the animation for the activity transition with this activity. (Inherited from Activity) |
OverrideActivityTransition(OverrideTransition, Int32, Int32) |
Customizes the animation for the activity transition with this activity. (Inherited from Activity) |
OverridePendingTransition(Int32, Int32, Int32) |
Call immediately after one of the flavors of |
OverridePendingTransition(Int32, Int32) |
Call immediately after one of the flavors of |
PeekWallpaper() |
Obsolete.
(Inherited from ContextWrapper)
|
PostponeEnterTransition() |
Postpone the entering activity transition when Activity was started with
|
Recreate() |
Cause this Activity to be recreated with a new instance. (Inherited from Activity) |
RegisterActivityLifecycleCallbacks(Application+IActivityLifecycleCallbacks) |
Register an |
RegisterComponentCallbacks(IComponentCallbacks) |
Add a new |
RegisterDeviceIdChangeListener(IExecutor, IIntConsumer) |
Adds a new device ID changed listener to the |
RegisterForContextMenu(View) |
Registers a context menu to be shown for the given view (multiple views can show the context menu). (Inherited from Activity) |
RegisterReceiver(BroadcastReceiver, IntentFilter, ActivityFlags) |
Obsolete.
(Inherited from ContextWrapper)
|
RegisterReceiver(BroadcastReceiver, IntentFilter, ReceiverFlags) | (Inherited from Context) |
RegisterReceiver(BroadcastReceiver, IntentFilter, String, Handler, ActivityFlags) |
Obsolete.
(Inherited from ContextWrapper)
|
RegisterReceiver(BroadcastReceiver, IntentFilter, String, Handler, ReceiverFlags) | (Inherited from Context) |
RegisterReceiver(BroadcastReceiver, IntentFilter, String, Handler) |
Register to receive intent broadcasts, to run in the context of scheduler. (Inherited from ContextWrapper) |
RegisterReceiver(BroadcastReceiver, IntentFilter) |
Register a BroadcastReceiver to be run in the main activity thread. (Inherited from ContextWrapper) |
RegisterScreenCaptureCallback(IExecutor, Activity+IScreenCaptureCallback) | (Inherited from Activity) |
ReleaseInstance() |
Ask that the local app instance of this activity be released to free up its memory. (Inherited from Activity) |
RemoveDialog(Int32) |
Obsolete.
Removes any internal references to a dialog managed by this Activity. (Inherited from Activity) |
RemoveStickyBroadcast(Intent) |
Obsolete.
(Inherited from ContextWrapper)
|
RemoveStickyBroadcastAsUser(Intent, UserHandle) |
Obsolete.
(Inherited from ContextWrapper)
|
ReportFullyDrawn() |
Report to the system that your app is now fully drawn, for diagnostic and optimization purposes. (Inherited from Activity) |
RequestDragAndDropPermissions(DragEvent) |
Create |
RequestFullscreenMode(FullscreenModeRequest, IOutcomeReceiver) |
Request to put the a freeform activity into fullscreen. (Inherited from Activity) |
RequestPermissions(String[], Int32) |
Requests permissions to be granted to this application. (Inherited from Activity) |
RequestShowKeyboardShortcuts() |
Request the Keyboard Shortcuts screen to show up. (Inherited from Activity) |
RequestVisibleBehind(Boolean) |
Activities that want to remain visible behind a translucent activity above them must call
this method anytime between the start of |
RequestWindowFeature(WindowFeatures) |
Enable extended window features. (Inherited from Activity) |
RequireViewById(Int32) |
Finds a view that was identified by the |
RequireViewById<T>(Int32) | (Inherited from Activity) |
RevokeSelfPermissionOnKill(String) |
Triggers the asynchronous revocation of a runtime permission. (Inherited from Context) |
RevokeSelfPermissionsOnKill(ICollection<String>) |
Triggers the revocation of one or more permissions for the calling package. (Inherited from Context) |
RevokeUriPermission(String, Uri, ActivityFlags) | (Inherited from ContextWrapper) |
RevokeUriPermission(Uri, ActivityFlags) |
Remove all permissions to access a particular content provider Uri that were previously added with M:Android.Content.Context.GrantUriPermission(System.String,Android.Net.Uri,Android.Net.Uri). (Inherited from ContextWrapper) |
RunOnUiThread(Action) | (Inherited from Activity) |
RunOnUiThread(IRunnable) |
Runs the specified action on the UI thread. (Inherited from Activity) |
SendBroadcast(Intent, String, Bundle) |
Broadcast the given intent to all interested BroadcastReceivers, allowing an optional required permission to be enforced. (Inherited from Context) |
SendBroadcast(Intent, String) |
Broadcast the given intent to all interested BroadcastReceivers, allowing an optional required permission to be enforced. (Inherited from ContextWrapper) |
SendBroadcast(Intent) |
Broadcast the given intent to all interested BroadcastReceivers. (Inherited from ContextWrapper) |
SendBroadcastAsUser(Intent, UserHandle, String) |
Version of SendBroadcast(Intent, String) that allows you to specify the user the broadcast will be sent to. (Inherited from ContextWrapper) |
SendBroadcastAsUser(Intent, UserHandle) |
Version of SendBroadcast(Intent) that allows you to specify the user the broadcast will be sent to. (Inherited from ContextWrapper) |
SendBroadcastWithMultiplePermissions(Intent, String[]) |
Broadcast the given intent to all interested BroadcastReceivers, allowing an array of required permissions to be enforced. (Inherited from Context) |
SendOrderedBroadcast(Intent, Int32, String, String, BroadcastReceiver, Handler, String, Bundle, Bundle) | (Inherited from ContextWrapper) |
SendOrderedBroadcast(Intent, String, BroadcastReceiver, Handler, Result, String, Bundle) |
Version of SendBroadcast(Intent) that allows you to receive data back from the broadcast. (Inherited from ContextWrapper) |
SendOrderedBroadcast(Intent, String, Bundle, BroadcastReceiver, Handler, Result, String, Bundle) |
Version of |
SendOrderedBroadcast(Intent, String, Bundle) |
Broadcast the given intent to all interested BroadcastReceivers, delivering them one at a time to allow more preferred receivers to consume the broadcast before it is delivered to less preferred receivers. (Inherited from Context) |
SendOrderedBroadcast(Intent, String, String, BroadcastReceiver, Handler, Result, String, Bundle) |
Version of
|
SendOrderedBroadcast(Intent, String) | (Inherited from ContextWrapper) |
SendOrderedBroadcastAsUser(Intent, UserHandle, String, BroadcastReceiver, Handler, Result, String, Bundle) | (Inherited from ContextWrapper) |
SendStickyBroadcast(Intent, Bundle) |
Perform a |
SendStickyBroadcast(Intent) |
Obsolete.
Perform a |
SendStickyBroadcastAsUser(Intent, UserHandle) |
Obsolete.
(Inherited from ContextWrapper)
|
SendStickyOrderedBroadcast(Intent, BroadcastReceiver, Handler, Result, String, Bundle) |
Obsolete.
(Inherited from ContextWrapper)
|
SendStickyOrderedBroadcastAsUser(Intent, UserHandle, BroadcastReceiver, Handler, Result, String, Bundle) |
Obsolete.
(Inherited from ContextWrapper)
|
SetActionBar(Toolbar) |
Set a |
SetContentView(Int32) |
Set the activity content from a layout resource. (Inherited from Activity) |
SetContentView(View, ViewGroup+LayoutParams) |
Set the activity content from a layout resource. (Inherited from Activity) |
SetContentView(View) |
Set the activity content to an explicit view. (Inherited from Activity) |
SetDefaultKeyMode(DefaultKey) |
Select the default key handling for this activity. (Inherited from Activity) |
SetEnterSharedElementCallback(SharedElementCallback) |
When |
SetExitSharedElementCallback(SharedElementCallback) |
When |
SetFeatureDrawable(WindowFeatures, Drawable) |
Convenience for calling
|
SetFeatureDrawableAlpha(WindowFeatures, Int32) |
Convenience for calling
|
SetFeatureDrawableResource(WindowFeatures, Int32) |
Convenience for calling
|
SetFeatureDrawableUri(WindowFeatures, Uri) |
Convenience for calling
|
SetFinishOnTouchOutside(Boolean) |
Sets whether this activity is finished when touched outside its window's bounds. (Inherited from Activity) |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
SetInheritShowWhenLocked(Boolean) |
Specifies whether this |
SetLocusContext(LocusId, Bundle) |
Sets the |
SetPersistent(Boolean) |
This member is deprecated. (Inherited from Activity) |
SetPictureInPictureParams(PictureInPictureParams) |
Updates the properties of the picture-in-picture activity, or sets it to be used later when
|
SetProgress(Int32) |
Sets the progress for the progress bars in the title. (Inherited from Activity) |
SetProgressBarIndeterminate(Boolean) |
Sets whether the horizontal progress bar in the title should be indeterminate (the circular is always indeterminate). (Inherited from Activity) |
SetProgressBarIndeterminateVisibility(Boolean) |
Sets the visibility of the indeterminate progress bar in the title. (Inherited from Activity) |
SetProgressBarVisibility(Boolean) |
Sets the visibility of the progress bar in the title. (Inherited from Activity) |
SetRecentsScreenshotEnabled(Boolean) |
If set to false, this indicates to the system that it should never take a screenshot of the activity to be used as a representation in recents screen. (Inherited from Activity) |
SetResult(Result, Intent) |
Call this to set the result that your activity will return to its caller. (Inherited from Activity) |
SetResult(Result) |
Call this to set the result that your activity will return to its caller. (Inherited from Activity) |
SetSecondaryProgress(Int32) |
Sets the secondary progress for the progress bar in the title. (Inherited from Activity) |
SetSelection(Int32) |
Set the currently selected list item to the specified position with the adapter's data |
SetShouldDockBigOverlays(Boolean) |
Specifies a preference to dock big overlays like the expanded picture-in-picture on TV
(see |
SetShowWhenLocked(Boolean) |
Specifies whether an |
SetTaskDescription(ActivityManager+TaskDescription) |
Sets information describing the task with this activity for presentation inside the Recents System UI. (Inherited from Activity) |
SetTheme(Int32) |
Set the base theme for this context. (Inherited from ContextWrapper) |
SetTheme(Resources+Theme) |
Set the configure the current theme. (Inherited from ContextThemeWrapper) |
SetTitle(Int32) |
Change the title associated with this activity. (Inherited from Activity) |
SetTranslucent(Boolean) |
Convert an activity, which particularly with |
SetTurnScreenOn(Boolean) |
Specifies whether the screen should be turned on when the |
SetVisible(Boolean) |
Control whether this activity's main window is visible. (Inherited from Activity) |
SetVrModeEnabled(Boolean, ComponentName) |
Enable or disable virtual reality (VR) mode for this Activity. (Inherited from Activity) |
SetWallpaper(Bitmap) |
Obsolete.
(Inherited from ContextWrapper)
|
SetWallpaper(Stream) |
Obsolete.
(Inherited from ContextWrapper)
|
ShouldDockBigOverlays() |
Returns whether big overlays should be docked next to the activity as set by
|
ShouldShowRequestPermissionRationale(String) |
Gets whether you should show UI with rationale before requesting a permission. (Inherited from Activity) |
ShouldUpRecreateTask(Intent) |
Returns true if the app should recreate the task when navigating 'up' from this activity by using targetIntent. (Inherited from Activity) |
ShowAssist(Bundle) |
Ask to have the current assistant shown to the user. (Inherited from Activity) |
ShowDialog(Int32, Bundle) |
Obsolete.
Show a dialog managed by this activity. (Inherited from Activity) |
ShowDialog(Int32) |
Obsolete.
Simple version of |
ShowLockTaskEscapeMessage() |
Shows the user the system defined message for telling the user how to exit lock task mode. (Inherited from Activity) |
StartActionMode(ActionMode+ICallback, ActionModeType) |
Start an action mode of the default type |
StartActionMode(ActionMode+ICallback) |
Start an action mode of the default type |
StartActivities(Intent[], Bundle) |
Launch multiple new activities. (Inherited from ContextWrapper) |
StartActivities(Intent[]) |
Same as StartActivities(Intent[], Bundle) with no options specified. (Inherited from ContextWrapper) |
StartActivity(Intent, Bundle) |
Launch a new activity. (Inherited from ContextWrapper) |
StartActivity(Intent) |
Same as StartActivity(Intent, Bundle) with no options specified. (Inherited from ContextWrapper) |
StartActivity(Type) | (Inherited from Context) |
StartActivityForResult(Intent, Int32, Bundle) |
Launch an activity for which you would like a result when it finished. (Inherited from Activity) |
StartActivityForResult(Intent, Int32) |
Same as calling |
StartActivityForResult(Type, Int32) | (Inherited from Activity) |
StartActivityFromChild(Activity, Intent, Int32, Bundle) |
This is called when a child activity of this one calls its
|
StartActivityFromChild(Activity, Intent, Int32) |
Same as calling |
StartActivityFromFragment(Fragment, Intent, Int32, Bundle) |
This is called when a Fragment in this activity calls its
|
StartActivityFromFragment(Fragment, Intent, Int32) |
Same as calling |
StartActivityIfNeeded(Intent, Int32, Bundle) |
A special variation to launch an activity only if a new activity instance is needed to handle the given Intent. (Inherited from Activity) |
StartActivityIfNeeded(Intent, Int32) |
Same as calling |
StartForegroundService(Intent) | (Inherited from ContextWrapper) |
StartInstrumentation(ComponentName, String, Bundle) |
Start executing an Instrumentation class. (Inherited from ContextWrapper) |
StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32, Bundle) |
Like StartActivity(Intent, Bundle), but taking a IntentSender to start. (Inherited from ContextWrapper) |
StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32) | (Inherited from ContextWrapper) |
StartIntentSenderForResult(IntentSender, Int32, Intent, ActivityFlags, ActivityFlags, Int32, Bundle) |
Like |
StartIntentSenderForResult(IntentSender, Int32, Intent, ActivityFlags, ActivityFlags, Int32) |
Same as calling |
StartIntentSenderFromChild(Activity, IntentSender, Int32, Intent, ActivityFlags, ActivityFlags, Int32, Bundle) |
Like |
StartIntentSenderFromChild(Activity, IntentSender, Int32, Intent, ActivityFlags, ActivityFlags, Int32) |
Same as calling |
StartLocalVoiceInteraction(Bundle) |
Starts a local voice interaction session. (Inherited from Activity) |
StartLockTask() |
Request to put this activity in a mode where the user is locked to a restricted set of applications. (Inherited from Activity) |
StartManagingCursor(ICursor) |
Obsolete.
This method allows the activity to take care of managing the given
|
StartNextMatchingActivity(Intent, Bundle) |
Special version of starting an activity, for use when you are replacing other activity components. (Inherited from Activity) |
StartNextMatchingActivity(Intent) |
Same as calling |
StartPostponedEnterTransition() |
Begin postponed transitions after |
StartSearch(String, Boolean, Bundle, Boolean) |
This hook is called to launch the search UI. (Inherited from Activity) |
StartService(Intent) |
Request that a given application service be started. (Inherited from ContextWrapper) |
StopLocalVoiceInteraction() |
Request to terminate the current voice interaction that was previously started
using |
StopLockTask() |
Stop the current task from being locked. (Inherited from Activity) |
StopManagingCursor(ICursor) |
Obsolete.
Given a Cursor that was previously given to
|
StopService(Intent) |
Request that a given application service be stopped. (Inherited from ContextWrapper) |
TakeKeyEvents(Boolean) |
Request that key events come to this activity. (Inherited from Activity) |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string representation of the object. (Inherited from Object) |
TriggerSearch(String, Bundle) |
Similar to |
UnbindService(IServiceConnection) |
Disconnect from an application service. (Inherited from ContextWrapper) |
UnregisterActivityLifecycleCallbacks(Application+IActivityLifecycleCallbacks) |
Unregister an |
UnregisterComponentCallbacks(IComponentCallbacks) |
Remove a |
UnregisterDeviceIdChangeListener(IIntConsumer) |
Removes a device ID changed listener from the Context. (Inherited from Context) |
UnregisterForContextMenu(View) |
Prevents a context menu to be shown for the given view. (Inherited from Activity) |
UnregisterFromRuntime() | (Inherited from Object) |
UnregisterReceiver(BroadcastReceiver) |
Unregister a previously registered BroadcastReceiver. (Inherited from ContextWrapper) |
UnregisterScreenCaptureCallback(Activity+IScreenCaptureCallback) | (Inherited from Activity) |
UpdateServiceGroup(IServiceConnection, Int32, Int32) |
For a service previously bound with |
Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Explicit Interface Implementations
IJavaPeerable.Disposed() | (Inherited from Object) |
IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
IJavaPeerable.Finalized() | (Inherited from Object) |
IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |