Window.ICallback.OnContentChanged 方法

定义

每当屏幕的内容视图发生更改(由于调用或调用 Window#setContentView(View, android.view.ViewGroup.LayoutParams) Window.setContentViewWindow#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.setContentViewWindow#addContentView(View, android.view.ViewGroup.LayoutParams) Window.addContentView时调用此挂钩。

适用于 . 的 android.view.Window.Callback.onContentChanged()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于