Compartilhar via


ResourcesLoader.ClearProviders Method

Definition

Removes all ResourcesProvider ResourcesProvider(s).

[Android.Runtime.Register("clearProviders", "()V", "GetClearProvidersHandler", ApiSince=30)]
public virtual void ClearProviders ();
[<Android.Runtime.Register("clearProviders", "()V", "GetClearProvidersHandler", ApiSince=30)>]
abstract member ClearProviders : unit -> unit
override this.ClearProviders : unit -> unit
Attributes

Remarks

Removes all ResourcesProvider ResourcesProvider(s).

This should only be called from the UI thread to avoid lock contention when propagating provider changes.

Java documentation for android.content.res.loader.ResourcesLoader.clearProviders().

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