ResourcesProvider.Empty(IAssetsProvider) Method

Definition

Creates an empty ResourcesProvider with no resource data.

[Android.Runtime.Register("empty", "(Landroid/content/res/loader/AssetsProvider;)Landroid/content/res/loader/ResourcesProvider;", "", ApiSince=30)]
public static Android.Content.Res.Loader.ResourcesProvider Empty (Android.Content.Res.Loader.IAssetsProvider assetsProvider);
[<Android.Runtime.Register("empty", "(Landroid/content/res/loader/AssetsProvider;)Landroid/content/res/loader/ResourcesProvider;", "", ApiSince=30)>]
static member Empty : Android.Content.Res.Loader.IAssetsProvider -> Android.Content.Res.Loader.ResourcesProvider

Parameters

assetsProvider
IAssetsProvider

the assets provider that implements the loading of file-based resources

Returns

Attributes

Remarks

Creates an empty ResourcesProvider with no resource data. This is useful for loading file-based assets not associated with resource identifiers.

Java documentation for android.content.res.loader.ResourcesProvider.empty(android.content.res.loader.AssetsProvider).

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