ResourcesLoader.RemoveProvider(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.
Removes a provider from the provider list.
[Android.Runtime.Register("removeProvider", "(Landroid/content/res/loader/ResourcesProvider;)V", "GetRemoveProvider_Landroid_content_res_loader_ResourcesProvider_Handler", ApiSince=30)]
public virtual void RemoveProvider (Android.Content.Res.Loader.ResourcesProvider resourcesProvider);
[<Android.Runtime.Register("removeProvider", "(Landroid/content/res/loader/ResourcesProvider;)V", "GetRemoveProvider_Landroid_content_res_loader_ResourcesProvider_Handler", ApiSince=30)>]
abstract member RemoveProvider : Android.Content.Res.Loader.ResourcesProvider -> unit
override this.RemoveProvider : Android.Content.Res.Loader.ResourcesProvider -> unit
- resourcesProvider
- ResourcesProvider
the provider to remove
- Attributes
Removes a provider from the provider list. If the provider is not present in the provider 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.