共用方式為


AndroidEventHelper.RemoveEventHandler<TInterface,TImplementor> 方法

定義

public static void RemoveEventHandler<TInterface,TImplementor> (ref WeakReference? implementor, Func<TImplementor,bool> empty, Action<TInterface?> setListener, Action<TImplementor> remove) where TInterface : class where TImplementor : Java.Lang.Object, TInterface;
static member RemoveEventHandler : WeakReference * Func<'Implementor, bool (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)

類型參數

TInterface
TImplementor

參數

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

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於