ResourcesProvider.LoadFromSplit(Context, String) Method

Definition

Read from a split installed alongside the application, which may not have been loaded initially because the application requested isolated split loading.

[Android.Runtime.Register("loadFromSplit", "(Landroid/content/Context;Ljava/lang/String;)Landroid/content/res/loader/ResourcesProvider;", "", ApiSince=30)]
public static Android.Content.Res.Loader.ResourcesProvider LoadFromSplit (Android.Content.Context context, string splitName);
[<Android.Runtime.Register("loadFromSplit", "(Landroid/content/Context;Ljava/lang/String;)Landroid/content/res/loader/ResourcesProvider;", "", ApiSince=30)>]
static member LoadFromSplit : Android.Content.Context * string -> Android.Content.Res.Loader.ResourcesProvider

Parameters

context
Context

a context of the package that contains the split

splitName
String

the name of the split to load

Returns

Attributes

Remarks

Read from a split installed alongside the application, which may not have been loaded initially because the application requested isolated split loading.

Java documentation for android.content.res.loader.ResourcesProvider.loadFromSplit(android.content.Context, java.lang.String).

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