getSlotKey(); if missing, wait for onSlotRegistered.onBeforeRevealed() → slot reveal(view) → onRevealed().BrixView) notify onAttached()/onDetached(), triggering registerSlots(), onReady(), and onRemoved().Override registerSlots() to add presenter-scoped slots; Brix cleans them up during deactivation.
@BrixPresenter
@BrixRoute("dashboard")
@BrixSlot(BrixSlots.BRIX_BODY_SLOT)
public class DashboardPresenter extends Presenter<DashboardView> {
// No manual view binding needed
}
@UiView
public class DashboardView extends BrixView<Element, DashboardHandlers>
implements DashboardPresenter.DashboardView {
@Handlers DashboardHandlers handlers;
}
The presenter guards against duplicate activation. Reveal retries only when the slot becomes available; call reveal() manually if you need to reattach after state changes.