Udostępnij za pośrednictwem


EventHelper.RemoveEventHandler<TInterface,TImplementor> Method

Definition

public static void RemoveEventHandler<TInterface,TImplementor> (ref WeakReference? implementor, Func<TImplementor,bool> empty, Action<TInterface> unsetListener, Action<TImplementor> remove) where TImplementor : Java.Lang.Object, TInterface;
static member RemoveEventHandler : WeakReference * Func<'Implementor, bool (requires 'Implementor :> Java.Lang.Object and 'Implementor :> 'Interface)> * Action<'Interface> * Action<'Implementor (requires 'Implementor :> Java.Lang.Object and 'Implementor :> 'Interface)> -> unit (requires 'Implementor :> Java.Lang.Object and 'Implementor :> 'Interface)

Type Parameters

TInterface
TImplementor

Parameters

implementor
WeakReference
empty
Func<TImplementor,Boolean>
unsetListener
Action<TInterface>
remove
Action<TImplementor>

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.

Applies to