Package icyllis.modernui.view

# Interface View.OnAttachStateChangeListener

All Known Implementing Classes:
  `ForwardingListener`, `OneShotPreDrawListener`

Enclosing class:
  `View`

public static interface View.OnAttachStateChangeListener
Interface definition for a callback to be invoked when this view is attached or detached from its window.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onViewAttachedToWindow(View v)`
  Called when the view is attached to a window.
  `void`
  `onViewDetachedFromWindow(View v)`
  Called when the view is detached from a window.

- ## Method Details

  - ### onViewAttachedToWindow

    void onViewAttachedToWindow(View v)
    Called when the view is attached to a window.
    Parameters:
      `v` - The view that was attached

  - ### onViewDetachedFromWindow

    void onViewDetachedFromWindow(View v)
    Called when the view is detached from a window.
    Parameters:
      `v` - The view that was detached