See Also: Application
public class Application : ContextWrapper, IComponentCallbacks2, IDisposable
Base class for those who need to maintain global application state. You can provide your own implementation by specifying its name in your AndroidManifest.xml's <application> tag, which will cause that class to be instantiated for you when the process for your application/package is created.
There is normally no need to subclass Application. In most situation, static singletons can provide the same functionality in a more modular way. If your singleton needs a global context (for example to register broadcast receivers), the function to retrieve it can be given a Context which internally uses Context.ApplicationContext when first constructing the singleton.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
The members of Android.App.Application are listed below.
See Also: ContextWrapper
Called by the system when the device configuration changes while your component is running.
Called when the application is starting, before any activity, service, or receiver objects (excluding content providers) have been created.
This is called when the overall system is running low on memory, and actively running processes should trim their memory usage.
This method is for use in emulated process environments.
Called when the operating system has determined that it is a good time for a process to trim unneeded memory from its process.