Window.ICallback.OnContentChanged 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
每当屏幕的内容视图发生更改(由于调用或调用 Window#setContentView(View, android.view.ViewGroup.LayoutParams)
Window.setContentView
) Window#addContentView(View, android.view.ViewGroup.LayoutParams)
Window.addContentView
时调用此挂钩。
[Android.Runtime.Register("onContentChanged", "()V", "GetOnContentChangedHandler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnContentChanged ();
[<Android.Runtime.Register("onContentChanged", "()V", "GetOnContentChangedHandler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnContentChanged : unit -> unit
- 属性
注解
每当屏幕的内容视图发生更改(由于调用或调用 Window#setContentView(View, android.view.ViewGroup.LayoutParams) Window.setContentView
) Window#addContentView(View, android.view.ViewGroup.LayoutParams) Window.addContentView
时调用此挂钩。
适用于 . 的 android.view.Window.Callback.onContentChanged()
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。