// Path: easymvp-test/src/main/java/com/sixthsolution/easymvp/test/TestPresenter.java
// public class TestPresenter extends AbstractPresenter<View1> {
// 
//     private boolean isOnViewAttachedCalled = false;
//     private boolean isOnViewDetachedCalled = false;
//     private static int counter = 0;
//     public int count = counter++;
// 
//     @Override
//     public void onViewAttached(View1 view) {
//         super.onViewAttached(view);
//         isOnViewAttachedCalled = true;
//         Log.d("TestPresenter","onViewAttached Called");
// 
//     }
// 
//     @Override
//     public void onViewDetached() {
//         super.onViewDetached();
//         isOnViewDetachedCalled = true;
//         Log.d("TestPresenter","onViewDetached Called");
//     }
// 
//     @Override
//     public void onDestroyed() {
//         super.onDestroyed();
//         Log.d("TestPresenter","OnDestroyed Called");
//     }
// 
//     public boolean isOnViewAttachedCalled() {
//         return isOnViewAttachedCalled;
//     }
// 
//     public boolean isOnViewDetachedCalled() {
//         return isOnViewDetachedCalled;
//     }
// 
// 
// }


import com.sixthsolution.easymvp.test.TestPresenter;
import dagger.Module;
import dagger.Provides;
package com.sixthsolution.easymvp.test.di;



/**
 * @author Saeed Masoumi (s-masoumi@live.com)
 */
@Module
public class CustomModule {

    @CustomScope
    @Provides
// Path: easymvp-test/src/main/java/com/sixthsolution/easymvp/test/TestPresenter.java
// public class TestPresenter extends AbstractPresenter<View1> {
// 
//     private boolean isOnViewAttachedCalled = false;
//     private boolean isOnViewDetachedCalled = false;
//     private static int counter = 0;
//     public int count = counter++;
// 
//     @Override
//     public void onViewAttached(View1 view) {
//         super.onViewAttached(view);
//         isOnViewAttachedCalled = true;
//         Log.d("TestPresenter","onViewAttached Called");
// 
//     }
// 
//     @Override
//     public void onViewDetached() {
//         super.onViewDetached();
//         isOnViewDetachedCalled = true;
//         Log.d("TestPresenter","onViewDetached Called");
//     }
// 
//     @Override
//     public void onDestroyed() {
//         super.onDestroyed();
//         Log.d("TestPresenter","OnDestroyed Called");
//     }
// 
//     public boolean isOnViewAttachedCalled() {
//         return isOnViewAttachedCalled;
//     }
// 
//     public boolean isOnViewDetachedCalled() {
//         return isOnViewDetachedCalled;
//     }
// 
// 
// }


// Path: easymvp-test/src/main/java/com/sixthsolution/easymvp/test/di/CustomModule.java
import com.sixthsolution.easymvp.test.TestPresenter;
import dagger.Module;
import dagger.Provides;

package com.sixthsolution.easymvp.test.di;



/**
 * @author Saeed Masoumi (s-masoumi@live.com)
 */
@Module
public class CustomModule {

    @CustomScope
    @Provides
    public TestPresenter providePresenter() {