AndroidEventHelper.AddEventHandler<TInterface,TImplementor> Método

Definición

public static void AddEventHandler<TInterface,TImplementor>(ref WeakReference? implementor, Func<TImplementor> creator, Action<TInterface> setListener, Action<TImplementor> add) where TInterface : class where TImplementor : Java.Lang.Object, TInterface;
static member AddEventHandler : WeakReference * Func<'Implementor (requires 'Implementor :> Java.Lang.Object and 'Implementor :> 'Interface)> * Action<'Interface (requires 'Interface : null)> * Action<'Implementor (requires 'Implementor :> Java.Lang.Object and 'Implementor :> 'Interface)> -> unit (requires 'Interface : null and 'Implementor :> Java.Lang.Object and 'Implementor :> 'Interface)

Parámetros de tipo

TInterface
TImplementor

Parámetros

implementor
WeakReference
creator
Func<TImplementor>
setListener
Action<TInterface>
add
Action<TImplementor>

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a