Share via


Configuration.NeedNewResources(ConfigChanges, ConfigChanges) Method

Definition

Determines if a new resource needs to be loaded from the bit set of configuration changes returned by #updateFrom(Configuration).

[Android.Runtime.Register("needNewResources", "(II)Z", "")]
public static bool NeedNewResources (Android.Content.PM.ConfigChanges configChanges, Android.Content.PM.ConfigChanges interestingChanges);
[<Android.Runtime.Register("needNewResources", "(II)Z", "")>]
static member NeedNewResources : Android.Content.PM.ConfigChanges * Android.Content.PM.ConfigChanges -> bool

Parameters

configChanges
ConfigChanges

the mask of changes configurations as returned by #updateFrom(Configuration)

interestingChanges
ConfigChanges

the configuration changes that the resource can handle as given in android.util.TypedValue#changingConfigurations

Returns

true if the resource needs to be loaded, false otherwise

Attributes

Remarks

Determines if a new resource needs to be loaded from the bit set of configuration changes returned by #updateFrom(Configuration).

Java documentation for android.content.res.Configuration.needNewResources(int, int).

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