@@ -0,0 +1,884 @@
+package com.naijab.nextzytimeline.base;%0A%0Aimport com.naijab.nextzytimeline.base.exception.MvpViewNotAttachedException;%0Aimport java.lang.ref.WeakReference;%0A%0A/**%0A * Created by Xiltron on 16/5/2560.%0A */%0A%0Apublic abstract class BaseMvpPresenter%3CV extends BaseMvpInterface.View%3E%0A    implements BaseMvpInterface.Presenter%3CV%3E %7B%0A%0A  private WeakReference%3CV%3E mMvpView;%0A%0A  @Override%0A  public void attachView(V mvpView) %7B%0A    mMvpView = new WeakReference%3C%3E(mvpView);%0A  %7D%0A%0A  @Override%0A  public void detachView() %7B%0A    mMvpView = null;%0A  %7D%0A%0A  @Override%0A  public V getView() throws NullPointerException %7B%0A    if (mMvpView != null) return mMvpView.get();%0A    throw new MvpViewNotAttachedException();%0A  %7D%0A%0A  @Override%0A  public void onViewCreate() %7B%0A%0A  %7D%0A%0A  @Override%0A  public void onViewStart() %7B%0A%0A  %7D%0A%0A  @Override%0A  public void onViewStop() %7B%0A%0A  %7D%0A%0A  @Override%0A  public void onViewDestroy() %7B%0A%0A  %7D%0A%0A%0A%7D%0A

Add Base MVP Presenter