ResourcesLoader.AddProvider(ResourcesProvider) Method
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.
Appends a provider to the end of the provider list.
[Android.Runtime.Register("addProvider", "(Landroid/content/res/loader/ResourcesProvider;)V", "GetAddProvider_Landroid_content_res_loader_ResourcesProvider_Handler", ApiSince=30)]
public virtual void AddProvider (Android.Content.Res.Loader.ResourcesProvider resourcesProvider);
[<Android.Runtime.Register("addProvider", "(Landroid/content/res/loader/ResourcesProvider;)V", "GetAddProvider_Landroid_content_res_loader_ResourcesProvider_Handler", ApiSince=30)>]
abstract member AddProvider : Android.Content.Res.Loader.ResourcesProvider -> unit
override this.AddProvider : Android.Content.Res.Loader.ResourcesProvider -> unit
- resourcesProvider
- ResourcesProvider
the provider to add
- Attributes
Appends a provider to the end of the provider list. If the provider is already present in the loader list, the list will not be modified.
This should only be called from the UI thread to avoid lock contention when propagating provider changes.
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.