Loader.OnContentChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.