Share via


Observable.UnregisterObserver(Object) Method

Definition

Removes a previously registered observer.

[Android.Runtime.Register("unregisterObserver", "(Ljava/lang/Object;)V", "GetUnregisterObserver_Ljava_lang_Object_Handler")]
public virtual void UnregisterObserver (Java.Lang.Object? observer);
[<Android.Runtime.Register("unregisterObserver", "(Ljava/lang/Object;)V", "GetUnregisterObserver_Ljava_lang_Object_Handler")>]
abstract member UnregisterObserver : Java.Lang.Object -> unit
override this.UnregisterObserver : Java.Lang.Object -> unit

Parameters

observer
Object

the observer to unregister

Attributes

Remarks

Removes a previously registered observer. The observer must not be null and it must already have been registered.

Java documentation for android.database.Observable.unregisterObserver(T).

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