Interface HasPresenter<T>

  • Type Parameters:
    T - The Presenter type
    All Known Subinterfaces:
    UberElement<T>, UberElemental<T>, UberView<T>

    public interface HasPresenter<T>
    Interface to inject a Presenter into a View for MVP-based Element implementations. Due to limitations with CDI it is not possible to @Inject the correct instance of a Presenter into a View.

    Developers wishing to implement MVP-based UIs are encouraged to have their View implement this interface if they require access to the appropriate Presenter.

    • Method Detail

      • init

        void init​(T presenter)