Partager via


FragmentController.DispatchConfigurationChanged(Configuration) Method

Definition

Lets all Fragments managed by the controller's FragmentManager know a configuration change occurred.

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

Parameters

newConfig
Configuration
Attributes

Remarks

Lets all Fragments managed by the controller's FragmentManager know a configuration change occurred.

Call when there is a configuration change.

Java documentation for android.app.FragmentController.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