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)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。