Udostępnij za pośrednictwem


Loader.OnContentChanged Method

Definition

Called when ForceLoadContentObserver detects a change.

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

Remarks

Called when ForceLoadContentObserver detects a change. The default implementation checks to see if the loader is currently started; if so, it simply calls #forceLoad(); otherwise, it sets a flag so that #takeContentChanged() returns true.

Must be called from the process's main thread.

Java documentation for android.content.Loader.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