Java Code Examples for android.view.ViewGroup#OnHierarchyChangeListener

The following examples show how to use android.view.ViewGroup#OnHierarchyChangeListener . 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 File: TabGroup.java    From TabView with 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 File: DSL.java    From anvil with MIT License 4 votes vote down vote up
public static Void onHierarchyChange(ViewGroup.OnHierarchyChangeListener arg) {
  return BaseDSL.attr("onHierarchyChange", arg);
}
 
Example 3
Source File: DSL.java    From anvil with MIT License 4 votes vote down vote up
public static Void onHierarchyChange(ViewGroup.OnHierarchyChangeListener arg) {
  return BaseDSL.attr("onHierarchyChange", arg);
}
 
Example 4
Source File: HierarchyTreeChangeListener.java    From debugdrawer with Apache License 2.0 4 votes vote down vote up
private HierarchyTreeChangeListener(ViewGroup.OnHierarchyChangeListener delegate) {
  if (delegate == null) {
    throw new NullPointerException("Delegate must not be null.");
  }
  this.delegate = delegate;
}
 
Example 5
Source File: HierarchyTreeChangeListener.java    From u2020-mvp with Apache License 2.0 4 votes vote down vote up
private HierarchyTreeChangeListener(ViewGroup.OnHierarchyChangeListener delegate) {
    if (delegate == null) {
        throw new NullPointerException("Delegate must not be null.");
    }
    this.delegate = delegate;
}
 
Example 6
Source File: HierarchyTreeChangeListener.java    From u2020 with Apache License 2.0 4 votes vote down vote up
private HierarchyTreeChangeListener(ViewGroup.OnHierarchyChangeListener delegate) {
  if (delegate == null) {
    throw new NullPointerException("Delegate must not be null.");
  }
  this.delegate = delegate;
}
 
Example 7
Source File: HierarchyTreeChangeListener.java    From debugdrawer with Apache License 2.0 2 votes vote down vote up
/**
 * 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
Source File: HierarchyTreeChangeListener.java    From u2020-mvp with Apache License 2.0 2 votes vote down vote up
/**
 * 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
Source File: HierarchyTreeChangeListener.java    From u2020 with Apache License 2.0 2 votes vote down vote up
/**
 * 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);
}