View.DispatchConfigurationChanged(Configuration) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
调度有关资源配置更改的通知,更改视图层次结构。
[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
参数
- newConfig
- Configuration
新资源配置。
- 属性
注解
调度有关资源配置更改的通知,更改视图层次结构。 ViewGroups 应重写为路由到其子级。
Java文档android.view.View.dispatchConfigurationChanged(android.content.res.Configuration)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。