共用方式為


CursorAdapter.OnContentChanged Method

Definition

Called when the ContentObserver on the cursor receives a change notification.

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

Remarks

Called when the ContentObserver on the cursor receives a change notification. The default implementation provides the auto-requery logic, but may be overridden by sub classes.

Java documentation for android.widget.CursorAdapter.onContentChanged().

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

See also