Interface MvpPresenter<V extends MvpView>

    • Method Detail

      • attachView

        void attachView​(V view)
        Set or attach the view to this presenter
        Parameters:
        view - where presenter is attached
      • detachView

        void detachView​(boolean retainInstance)
        Will be called if the view has been destroyed. Typically this method will be invoked from Activity.detachView() or Fragment.onDestroyView()
        Parameters:
        retainInstance - flag used to retain instance