Share via


ResourcesLoader.Providers Property

Definition

Retrieves the list of providers loaded into this instance. -or- Sets the list of providers.

public virtual System.Collections.Generic.IList<Android.Content.Res.Loader.ResourcesProvider> Providers { [Android.Runtime.Register("getProviders", "()Ljava/util/List;", "GetGetProvidersHandler", ApiSince=30)] get; [Android.Runtime.Register("setProviders", "(Ljava/util/List;)V", "GetSetProviders_Ljava_util_List_Handler", ApiSince=30)] set; }
[<get: Android.Runtime.Register("getProviders", "()Ljava/util/List;", "GetGetProvidersHandler", ApiSince=30)>]
[<set: Android.Runtime.Register("setProviders", "(Ljava/util/List;)V", "GetSetProviders_Ljava_util_List_Handler", ApiSince=30)>]
member this.Providers : System.Collections.Generic.IList<Android.Content.Res.Loader.ResourcesProvider> with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Retrieves the list of providers loaded into this instance. Providers are listed in increasing precedence order. A provider will override the values of providers listed before itself.

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

Property setter documentation:

Sets the list of providers.

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.setProviders(java.util.List<android.content.res.loader.ResourcesProvider>).

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