Udostępnij za pośrednictwem


View.DispatchConfigurationChanged(Configuration) Method

Definition

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

[Android.Runtime.Register("dispatchConfigurationChanged", "(Landroid/content/res/Configuration;)V", "GetDispatchConfigurationChanged_Landroid_content_res_Configuration_Handler")]
public virtual void DispatchConfigurationChanged (Android.Content.Res.Configuration? newConfig);
[<Android.Runtime.Register("dispatchConfigurationChanged", "(Landroid/content/res/Configuration;)V", "GetDispatchConfigurationChanged_Landroid_content_res_Configuration_Handler")>]
abstract member DispatchConfigurationChanged : Android.Content.Res.Configuration -> unit
override this.DispatchConfigurationChanged : Android.Content.Res.Configuration -> unit

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

See also