Läs på engelska

Dela via


View.DispatchConfigurationChanged(Configuration) Method

Definition

Dispatch a notification about a resource configuration change down the view hierarchy.

C#
[Android.Runtime.Register("dispatchConfigurationChanged", "(Landroid/content/res/Configuration;)V", "GetDispatchConfigurationChanged_Landroid_content_res_Configuration_Handler")]
public virtual void DispatchConfigurationChanged(Android.Content.Res.Configuration? newConfig);

Parameters

newConfig
Configuration

The new resource configuration.

Attributes

Remarks

Dispatch a notification about a resource configuration change down the view hierarchy. ViewGroups should override to route to their children.

Java documentation for android.view.View.dispatchConfigurationChanged(android.content.res.Configuration).

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

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35

See also