package com.naijab.nextzytimeline.ui.people.addform;

import com.naijab.nextzytimeline.base.BaseMvpPresenter;

public class AddPeopleFragmentPresenter extends BaseMvpPresenter<AddPeopleFragmentInterface.View>
        implements AddPeopleFragmentInterface.Presenter{

    public static AddPeopleFragmentInterface.Presenter create(){
        return new AddPeopleFragmentPresenter();
    }

}

@@ -104,16 +104,40 @@
 enter;%0A%0A
+import io.realm.Realm;%0A%0A
 public c
@@ -284,16 +284,42 @@
 enter%7B%0A%0A
+    private Realm realm;%0A%0A
     publ
@@ -431,10 +431,238 @@
 %0A    %7D%0A%0A
+    @Override%0A    public void onViewStart() %7B%0A        super.onViewStart();%0A        realm = Realm.getDefaultInstance();%0A    %7D%0A%0A    @Override%0A    public void onViewStop() %7B%0A        super.onViewStop();%0A        realm.close();%0A    %7D%0A
 %7D%0A

Add Realm AddPeople Presenter