AndroidEventHelper 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.
Caution
Use EventHelper
Provides the obsolete weak-listener helper replaced by EventHelper.
[System.Obsolete("Use EventHelper")]
public static class AndroidEventHelper
[<System.Obsolete("Use EventHelper")>]
type AndroidEventHelper = class
- Inheritance
-
AndroidEventHelper
- Attributes
Remarks
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.
Methods
| Name | Description |
|---|---|
| AddEventHandler<TInterface,TImplementor>(WeakReference, Func<TImplementor>, Action<TInterface>, Action<TImplementor>) |
Reuses or creates a listener implementor, then invokes the handler-add callback. |
| RemoveEventHandler<TInterface,TImplementor>(WeakReference, Func<TImplementor,Boolean>, Action<TInterface>, Action<TImplementor>) |
Removes a handler and clears an empty listener by passing |