Android.Views.ViewTreeObserver Members

The members of Android.Views.ViewTreeObserver are listed below.

See Also: Inherited members from Java.Lang.Object

Public Properties

[read-only]
IsAlivebool. Indicates whether this ViewTreeObserver is alive.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AddOnDrawListener(ViewTreeObserver.IOnDrawListener)
AddOnGlobalFocusChangeListener(ViewTreeObserver.IOnGlobalFocusChangeListener)
Register a callback to be invoked when the focus state within the view tree changes.
AddOnGlobalLayoutListener(ViewTreeObserver.IOnGlobalLayoutListener)
Register a callback to be invoked when the global layout state or the visibility of views within the view tree changes
AddOnPreDrawListener(ViewTreeObserver.IOnPreDrawListener)
Register a callback to be invoked when the view tree is about to be drawn
AddOnScrollChangedListener(ViewTreeObserver.IOnScrollChangedListener)
Register a callback to be invoked when a view has been scrolled.
AddOnTouchModeChangeListener(ViewTreeObserver.IOnTouchModeChangeListener)
Register a callback to be invoked when the invoked when the touch mode changes.
AddOnWindowAttachListener(ViewTreeObserver.IOnWindowAttachListener)
Register a callback to be invoked when the view hierarchy is attached to a window.
AddOnWindowFocusChangeListener(ViewTreeObserver.IOnWindowFocusChangeListener)
Register a callback to be invoked when the window focus state within the view tree changes.
DispatchOnDraw()
Notifies registered listeners that the drawing pass is about to start.
DispatchOnGlobalLayout()
Notifies registered listeners that a global layout happened.
DispatchOnPreDraw() : bool
Notifies registered listeners that the drawing pass is about to start.
RemoveGlobalOnLayoutListener(ViewTreeObserver.IOnGlobalLayoutListener)
Remove a previously installed global layout callback
RemoveOnDrawListener(ViewTreeObserver.IOnDrawListener)
RemoveOnGlobalFocusChangeListener(ViewTreeObserver.IOnGlobalFocusChangeListener)
Remove a previously installed focus change callback.
RemoveOnGlobalLayoutListener(ViewTreeObserver.IOnGlobalLayoutListener)
Remove a previously installed global layout callback
RemoveOnPreDrawListener(ViewTreeObserver.IOnPreDrawListener)
Remove a previously installed pre-draw callback
RemoveOnScrollChangedListener(ViewTreeObserver.IOnScrollChangedListener)
Remove a previously installed scroll-changed callback
RemoveOnTouchModeChangeListener(ViewTreeObserver.IOnTouchModeChangeListener)
Remove a previously installed touch mode change callback
RemoveOnWindowAttachListener(ViewTreeObserver.IOnWindowAttachListener)
Remove a previously installed window attach callback.
RemoveOnWindowFocusChangeListener(ViewTreeObserver.IOnWindowFocusChangeListener)
Remove a previously installed window focus change callback.

Public Events

DrawDocumentation for this section has not yet been entered.
GlobalFocusChangeDocumentation for this section has not yet been entered.
GlobalLayoutDocumentation for this section has not yet been entered.
PreDrawDocumentation for this section has not yet been entered.
ScrollChangedDocumentation for this section has not yet been entered.
TouchModeChangeDocumentation for this section has not yet been entered.
WindowAttachedDocumentation for this section has not yet been entered.
WindowDetachedDocumentation for this section has not yet been entered.
WindowFocusChangeDocumentation for this section has not yet been entered.