code: public void registerOnViewReadyListener(Runnable action) {
          if (onViewReadyListeners == null) {
              onViewReadyListeners = new CopyOnWriteArrayList<>();
          }
          onViewReadyListeners.add(action);
      }
docs: Register a callback after {@link #onViewReady(View, Bundle, Reason)} is called. This is useful when an action that
  can't be executed after the fragment is instantiated but before the fragment has gone through
  life cycles and gets created and ready to use. If this is one time action, use
  {@link #unregisterOnViewReadyListener(Runnable)} (Runnable)}  unregister itself in the given onCreateViewAction.
  
  @param action The action to registered to be run after view is ready