/** Adds {@code child} as a child presenter, and binds it if we're already bound. */ public <C extends Presenter> C addPresenter(final C child) { if (children().add(child)) { if (isBound()) { child.bind(); } } return child; }
/** Adds {@code child} as a child presenter, and binds it if we're already bound. */ public <C extends Presenter> C addPresenter(final C child) { if (children().add(child)) { if (isBound()) { child.bind(); } } return child; }