// Path: presentation/src/main/java/sergio/vasco/androidforexample/presentation/sections/profile/ProfilePresenter.java
// public class ProfilePresenter extends Presenter {
//   private ProfileView view;
//   private Bus bus;
//   private InteractorInvoker interactorInvoker;
//   private InsertContactsIntoDataBaseInteractor insertContactsIntoDataBaseInteractor;
//   private PresentationContactMapper presentationContactMapper;
// 
//   public ProfilePresenter(ProfileView view, Bus bus, InteractorInvoker interactorInvoker,
//       InsertContactsIntoDataBaseInteractor insertContactsIntoDataBaseInteractor,  PresentationContactMapper presentationContactMapper) {
//     this.view = view;
//     this.bus = bus;
//     this.interactorInvoker = interactorInvoker;
//     this.insertContactsIntoDataBaseInteractor = insertContactsIntoDataBaseInteractor;
//     this.presentationContactMapper = presentationContactMapper;
//   }
// 
//   @Override public void onResume() {
//     //bus.register(this);
//   }
// 
//   @Override public void onPause() {
//     //bus.unregister(this);
//   }
// 
//   public void createNewContact(PresentationContact presentationContact){
// 
//     //insertContactsIntoDataBaseInteractor.setContact();
//     interactorInvoker.execute(insertContactsIntoDataBaseInteractor);
//   }
// }
// 
// Path: presentation/src/main/java/sergio/vasco/androidforexample/presentation/sections/profile/ProfileView.java
// public interface ProfileView {
// }
// 
// Path: app/src/main/java/sergio/vasco/realmforandroid/app/section/profile/BaseContactActivity.java
// public abstract class BaseContactActivity<T> extends BaseInjectionActivity<T>{
// }
// 
// Path: app/src/main/java/sergio/vasco/realmforandroid/app/section/profile/edit/di/EditContactActivityComponent.java
// @PerActivity @Component(dependencies = AppComponent.class, modules = EditContactActivityModule.class)
// public interface EditContactActivityComponent {
//   void inject(EditContactActivity editContactActivity);
// }
// 
// Path: app/src/main/java/sergio/vasco/realmforandroid/app/section/profile/edit/di/EditContactActivityModule.java
// @Module
// public class EditContactActivityModule {
// 
//   private final EditContactActivity editContactActivity;
// 
//   public EditContactActivityModule(EditContactActivity editContactActivity) {
//     this.editContactActivity = editContactActivity;
//   }
// 
//   @PerActivity @Provides ProfilePresenter provideProfilePresenter(Bus bus, InteractorInvoker interactorInvoker, InsertContactsIntoDataBaseInteractor insertContactsIntoDataBaseInteractor, PresentationContactMapper presentationContactMapper){
//     return new ProfilePresenter(editContactActivity,bus,interactorInvoker,insertContactsIntoDataBaseInteractor, presentationContactMapper);
//   }
// }


import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.EditText;
import butterknife.Bind;
import javax.inject.Inject;
import sergio.vasco.androidforexample.presentation.sections.profile.ProfilePresenter;
import sergio.vasco.androidforexample.presentation.sections.profile.ProfileView;
import sergio.vasco.realmforandroid.R;
import sergio.vasco.realmforandroid.app.section.profile.BaseContactActivity;
import sergio.vasco.realmforandroid.app.section.profile.create.di.DaggerCreateContactActivityComponent;
import sergio.vasco.realmforandroid.app.section.profile.edit.di.DaggerEditContactActivityComponent;
import sergio.vasco.realmforandroid.app.section.profile.edit.di.EditContactActivityComponent;
import sergio.vasco.realmforandroid.app.section.profile.edit.di.EditContactActivityModule;
package sergio.vasco.realmforandroid.app.section.profile.edit;



public class EditContactActivity extends BaseContactActivity<EditContactActivityComponent>
    implements ProfileView {

// Path: presentation/src/main/java/sergio/vasco/androidforexample/presentation/sections/profile/ProfilePresenter.java
// public class ProfilePresenter extends Presenter {
//   private ProfileView view;
//   private Bus bus;
//   private InteractorInvoker interactorInvoker;
//   private InsertContactsIntoDataBaseInteractor insertContactsIntoDataBaseInteractor;
//   private PresentationContactMapper presentationContactMapper;
// 
//   public ProfilePresenter(ProfileView view, Bus bus, InteractorInvoker interactorInvoker,
//       InsertContactsIntoDataBaseInteractor insertContactsIntoDataBaseInteractor,  PresentationContactMapper presentationContactMapper) {
//     this.view = view;
//     this.bus = bus;
//     this.interactorInvoker = interactorInvoker;
//     this.insertContactsIntoDataBaseInteractor = insertContactsIntoDataBaseInteractor;
//     this.presentationContactMapper = presentationContactMapper;
//   }
// 
//   @Override public void onResume() {
//     //bus.register(this);
//   }
// 
//   @Override public void onPause() {
//     //bus.unregister(this);
//   }
// 
//   public void createNewContact(PresentationContact presentationContact){
// 
//     //insertContactsIntoDataBaseInteractor.setContact();
//     interactorInvoker.execute(insertContactsIntoDataBaseInteractor);
//   }
// }
// 
// Path: presentation/src/main/java/sergio/vasco/androidforexample/presentation/sections/profile/ProfileView.java
// public interface ProfileView {
// }
// 
// Path: app/src/main/java/sergio/vasco/realmforandroid/app/section/profile/BaseContactActivity.java
// public abstract class BaseContactActivity<T> extends BaseInjectionActivity<T>{
// }
// 
// Path: app/src/main/java/sergio/vasco/realmforandroid/app/section/profile/edit/di/EditContactActivityComponent.java
// @PerActivity @Component(dependencies = AppComponent.class, modules = EditContactActivityModule.class)
// public interface EditContactActivityComponent {
//   void inject(EditContactActivity editContactActivity);
// }
// 
// Path: app/src/main/java/sergio/vasco/realmforandroid/app/section/profile/edit/di/EditContactActivityModule.java
// @Module
// public class EditContactActivityModule {
// 
//   private final EditContactActivity editContactActivity;
// 
//   public EditContactActivityModule(EditContactActivity editContactActivity) {
//     this.editContactActivity = editContactActivity;
//   }
// 
//   @PerActivity @Provides ProfilePresenter provideProfilePresenter(Bus bus, InteractorInvoker interactorInvoker, InsertContactsIntoDataBaseInteractor insertContactsIntoDataBaseInteractor, PresentationContactMapper presentationContactMapper){
//     return new ProfilePresenter(editContactActivity,bus,interactorInvoker,insertContactsIntoDataBaseInteractor, presentationContactMapper);
//   }
// }


// Path: app/src/main/java/sergio/vasco/realmforandroid/app/section/profile/edit/EditContactActivity.java
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.EditText;
import butterknife.Bind;
import javax.inject.Inject;
import sergio.vasco.androidforexample.presentation.sections.profile.ProfilePresenter;
import sergio.vasco.androidforexample.presentation.sections.profile.ProfileView;
import sergio.vasco.realmforandroid.R;
import sergio.vasco.realmforandroid.app.section.profile.BaseContactActivity;
import sergio.vasco.realmforandroid.app.section.profile.create.di.DaggerCreateContactActivityComponent;
import sergio.vasco.realmforandroid.app.section.profile.edit.di.DaggerEditContactActivityComponent;
import sergio.vasco.realmforandroid.app.section.profile.edit.di.EditContactActivityComponent;
import sergio.vasco.realmforandroid.app.section.profile.edit.di.EditContactActivityModule;

package sergio.vasco.realmforandroid.app.section.profile.edit;



public class EditContactActivity extends BaseContactActivity<EditContactActivityComponent>
    implements ProfileView {

  @Inject ProfilePresenter presenter;