Java Code Examples for android.view.ViewGroup#OnHierarchyChangeListener

The following examples show how to use android.view.ViewGroup#OnHierarchyChangeListener . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: TabView   File: TabGroup.java    License: Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public void setOnHierarchyChangeListener(ViewGroup.OnHierarchyChangeListener listener) {
    // the user listener is delegated to our pass-through listener
    mPassThroughListener.mOnHierarchyChangeListener = listener;
}
 
Example 2
Source Project: anvil   File: DSL.java    License: MIT License 4 votes vote down vote up
public static Void onHierarchyChange(ViewGroup.OnHierarchyChangeListener arg) {
  return BaseDSL.attr("onHierarchyChange", arg);
}
 
Example 3
Source Project: anvil   File: DSL.java    License: MIT License 4 votes vote down vote up
public static Void onHierarchyChange(ViewGroup.OnHierarchyChangeListener arg) {
  return BaseDSL.attr("onHierarchyChange", arg);
}
 
Example 4
private HierarchyTreeChangeListener(ViewGroup.OnHierarchyChangeListener delegate) {
  if (delegate == null) {
    throw new NullPointerException("Delegate must not be null.");
  }
  this.delegate = delegate;
}
 
Example 5
private HierarchyTreeChangeListener(ViewGroup.OnHierarchyChangeListener delegate) {
    if (delegate == null) {
        throw new NullPointerException("Delegate must not be null.");
    }
    this.delegate = delegate;
}
 
Example 6
private HierarchyTreeChangeListener(ViewGroup.OnHierarchyChangeListener delegate) {
  if (delegate == null) {
    throw new NullPointerException("Delegate must not be null.");
  }
  this.delegate = delegate;
}
 
Example 7
/**
 * Wrap a regular {@link android.view.ViewGroup.OnHierarchyChangeListener hierarchy change listener} with one
 * that monitors an entire tree of views.
 */
public static HierarchyTreeChangeListener wrap(ViewGroup.OnHierarchyChangeListener delegate) {
  return new HierarchyTreeChangeListener(delegate);
}
 
Example 8
/**
 * Wrap a regular {@link ViewGroup.OnHierarchyChangeListener hierarchy change listener} with one
 * that monitors an entire tree of views.
 */
public static HierarchyTreeChangeListener wrap(ViewGroup.OnHierarchyChangeListener delegate) {
    return new HierarchyTreeChangeListener(delegate);
}
 
Example 9
/**
 * Wrap a regular {@link android.view.ViewGroup.OnHierarchyChangeListener hierarchy change listener} with one
 * that monitors an entire tree of views.
 */
public static HierarchyTreeChangeListener wrap(ViewGroup.OnHierarchyChangeListener delegate) {
  return new HierarchyTreeChangeListener(delegate);
}