次の方法で共有


Observable.SetChanged Method

Definition

Marks this Observable object as having been changed; the hasChanged method will now return true.

[Android.Runtime.Register("setChanged", "()V", "GetSetChangedHandler")]
protected virtual void SetChanged ();
[<Android.Runtime.Register("setChanged", "()V", "GetSetChangedHandler")>]
abstract member SetChanged : unit -> unit
override this.SetChanged : unit -> unit
Attributes

Remarks

Marks this Observable object as having been changed; the hasChanged method will now return true.

Java documentation for java.util.Observable.setChanged().

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