Share via


Window.ICallback.OnContentChanged Method

Definition

This hook is called whenever the content view of the screen changes (due to a call to Window#setContentView(View, android.view.ViewGroup.LayoutParams) Window.setContentView or 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
Attributes

Remarks

This hook is called whenever the content view of the screen changes (due to a call to Window#setContentView(View, android.view.ViewGroup.LayoutParams) Window.setContentView or Window#addContentView(View, android.view.ViewGroup.LayoutParams) Window.addContentView).

Java documentation for android.view.Window.Callback.onContentChanged().

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