parallaxpager/src/main/java/com/prolificinteractive/parallaxpager/ParallaxFactory.java
public View onViewCreated(View view, Context context, AttributeSet attrs) {
    if (view == null) {
      return null;
    }

    view = onViewCreatedInternal(view, context, attrs);
    for (OnViewCreatedListener listener : otherListeners) {
      if (listener != null) {
        view = listener.onViewCreated(view, context, attrs);
      }
    }
    return view;
  }
public View onViewCreated(View view, Context context, AttributeSet attrs) {
    if (view == null) {
      return null;
    }

    view = onViewCreatedInternal(view, context, attrs);
    for (OnViewCreatedListener listener : otherListeners) {
      if (listener != null) {
        view = listener.onViewCreated(view, context, attrs);
      }
    }
    return view;
  }
Handle the created view

@param view nullable.
@param context shouldn't be null.
@param attrs shouldn't be null.
@return null if null is passed in.