// Path: app/src/main/java/sergio/vasco/realmforandroid/app/di/components/AppComponent.java
// @Singleton @Component(modules = {AppModule.class, DataModule.class, InteractorModule.class,
//     RepositoryModule.class, DataSourceModule.class, MapperModule.class})
// public interface AppComponent extends InteractorComponent, DataComponent,
//     DataSourceComponent, RepositoryComponent, MapperComponent {
//   void inject(App app);
// }
// 
// Path: app/src/main/java/sergio/vasco/realmforandroid/app/section/profile/create/CreateContactActivity.java
// public class CreateContactActivity extends BaseContactActivity<CreateContactActivityComponent>
//     implements ProfileView {
// 
//   @Inject ProfilePresenter presenter;
//   @Bind(R.id.firstName) EditText firstName;
//   @Bind(R.id.lastName) EditText lastName;
//   @Bind(R.id.phone) EditText phone;
//   @Bind(R.id.email) EditText email;
// 
//   @Override protected void onCreate(Bundle savedInstanceState) {
//     super.onCreate(savedInstanceState);
//     setContentView(R.layout.activity_profile);
//   }
// 
//   @Override protected void onResume() {
//     super.onResume();
//     presenter.onResume();
//   }
// 
//   @Override protected void onPause() {
//     super.onPause();
//     presenter.onPause();
//   }
// 
//   @Override protected void initToolbar() {
//     toolbar.setTitle(R.string.new_contact_title);
//     setSupportActionBar(toolbar);
//   }
// 
//   @Override public boolean onCreateOptionsMenu(Menu menu) {
//     // Inflate the menu; this adds items to the action bar if it is present.
//     getMenuInflater().inflate(R.menu.menu_profile, menu);
//     return true;
//   }
// 
//   @Override public boolean onOptionsItemSelected(MenuItem item) {
//     // Handle action bar item clicks here. The action bar will
//     // automatically handle clicks on the Home/Up button, so long
//     // as you specify a parent activity in AndroidManifest.xml.
//     int id = item.getItemId();
// 
//     //noinspection SimplifiableIfStatement
//     if (id == R.id.action_accept) {
//       return true;
//     }
// 
//     return super.onOptionsItemSelected(item);
//   }
// 
//   @Override protected void initDI() {
//     activityComponent = DaggerCreateContactActivityComponent.builder()
//         .createContactActivityModule(new CreateContactActivityModule(this))
//         .appComponent(getAppComponent())
//         .build();
//     activityComponent.inject(this);
//   }
// }


import dagger.Component;
import sergio.vasco.realmforandroid.app.di.components.AppComponent;
import sergio.vasco.realmforandroid.app.di.scopes.PerActivity;
import sergio.vasco.realmforandroid.app.section.profile.create.CreateContactActivity;
package sergio.vasco.realmforandroid.app.section.profile.create.di;


/**
 * Name: Sergio Vasco
 * Date: 29/1/16.
 */
@PerActivity @Component(dependencies = AppComponent.class, modules = CreateContactActivityModule.class)
public interface CreateContactActivityComponent {
// Path: app/src/main/java/sergio/vasco/realmforandroid/app/di/components/AppComponent.java
// @Singleton @Component(modules = {AppModule.class, DataModule.class, InteractorModule.class,
//     RepositoryModule.class, DataSourceModule.class, MapperModule.class})
// public interface AppComponent extends InteractorComponent, DataComponent,
//     DataSourceComponent, RepositoryComponent, MapperComponent {
//   void inject(App app);
// }
// 
// Path: app/src/main/java/sergio/vasco/realmforandroid/app/section/profile/create/CreateContactActivity.java
// public class CreateContactActivity extends BaseContactActivity<CreateContactActivityComponent>
//     implements ProfileView {
// 
//   @Inject ProfilePresenter presenter;
//   @Bind(R.id.firstName) EditText firstName;
//   @Bind(R.id.lastName) EditText lastName;
//   @Bind(R.id.phone) EditText phone;
//   @Bind(R.id.email) EditText email;
// 
//   @Override protected void onCreate(Bundle savedInstanceState) {
//     super.onCreate(savedInstanceState);
//     setContentView(R.layout.activity_profile);
//   }
// 
//   @Override protected void onResume() {
//     super.onResume();
//     presenter.onResume();
//   }
// 
//   @Override protected void onPause() {
//     super.onPause();
//     presenter.onPause();
//   }
// 
//   @Override protected void initToolbar() {
//     toolbar.setTitle(R.string.new_contact_title);
//     setSupportActionBar(toolbar);
//   }
// 
//   @Override public boolean onCreateOptionsMenu(Menu menu) {
//     // Inflate the menu; this adds items to the action bar if it is present.
//     getMenuInflater().inflate(R.menu.menu_profile, menu);
//     return true;
//   }
// 
//   @Override public boolean onOptionsItemSelected(MenuItem item) {
//     // Handle action bar item clicks here. The action bar will
//     // automatically handle clicks on the Home/Up button, so long
//     // as you specify a parent activity in AndroidManifest.xml.
//     int id = item.getItemId();
// 
//     //noinspection SimplifiableIfStatement
//     if (id == R.id.action_accept) {
//       return true;
//     }
// 
//     return super.onOptionsItemSelected(item);
//   }
// 
//   @Override protected void initDI() {
//     activityComponent = DaggerCreateContactActivityComponent.builder()
//         .createContactActivityModule(new CreateContactActivityModule(this))
//         .appComponent(getAppComponent())
//         .build();
//     activityComponent.inject(this);
//   }
// }


// Path: app/src/main/java/sergio/vasco/realmforandroid/app/section/profile/create/di/CreateContactActivityComponent.java
import dagger.Component;
import sergio.vasco.realmforandroid.app.di.components.AppComponent;
import sergio.vasco.realmforandroid.app.di.scopes.PerActivity;
import sergio.vasco.realmforandroid.app.section.profile.create.CreateContactActivity;

package sergio.vasco.realmforandroid.app.section.profile.create.di;


/**
 * Name: Sergio Vasco
 * Date: 29/1/16.
 */
@PerActivity @Component(dependencies = AppComponent.class, modules = CreateContactActivityModule.class)
public interface CreateContactActivityComponent {
  void inject(CreateContactActivity createContactActivity);