to top
Android APIs
Added in API level 18
public static interface

ViewTreeObserver.OnWindowAttachListener

android.view.ViewTreeObserver.OnWindowAttachListener

Class Overview

Interface definition for a callback to be invoked when the view hierarchy is attached to and detached from its window.

Summary

Public Methods
abstract void onWindowAttached()
Callback method to be invoked when the view hierarchy is attached to a window
abstract void onWindowDetached()
Callback method to be invoked when the view hierarchy is detached from a window

Public Methods

public abstract void onWindowAttached ()

Added in API level 18

Callback method to be invoked when the view hierarchy is attached to a window

public abstract void onWindowDetached ()

Added in API level 18

Callback method to be invoked when the view hierarchy is detached from a window