Fragment.OnConfigurationChanged(Configuration) Method

Definition

Called by the system when the device configuration changes while your component is running.

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

Parameters

newConfig
Configuration

The new device configuration.

Implements

Attributes

Remarks

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