// Path: app/src/main/java/york/com/retrofit2rxjavademo/entity/TestBean.java
// public class TestBean {
//     String name;
//     int age;
// 
//     public TestBean(String name, int age) {
//         this.name = name;
//         this.age = age;
//     }
// 
//     @Override
//     public String toString() {
//         return "TestBean{" +
//                 "name='" + name + '\'' +
//                 ", age=" + age +
//                 '}';
//     }
// }


import dagger.Module;
import dagger.Provides;
import york.com.retrofit2rxjavademo.di.scope.PerActivityScope;
import york.com.retrofit2rxjavademo.entity.TestBean;
package york.com.retrofit2rxjavademo.di.module;


/**
 * @author: YorkYu
 * @version: V2.0.0
 * @project: Retrofit2RxjavaDemo
 * @package: york.com.retrofit2rxjavademo.di.module
 * @description: description
 * @date: 2017/7/11
 * @time: 17:45
 */
@Module
public class MainModule {
    @Provides
    @PerActivityScope
// Path: app/src/main/java/york/com/retrofit2rxjavademo/entity/TestBean.java
// public class TestBean {
//     String name;
//     int age;
// 
//     public TestBean(String name, int age) {
//         this.name = name;
//         this.age = age;
//     }
// 
//     @Override
//     public String toString() {
//         return "TestBean{" +
//                 "name='" + name + '\'' +
//                 ", age=" + age +
//                 '}';
//     }
// }


// Path: app/src/main/java/york/com/retrofit2rxjavademo/di/module/MainModule.java
import dagger.Module;
import dagger.Provides;
import york.com.retrofit2rxjavademo.di.scope.PerActivityScope;
import york.com.retrofit2rxjavademo.entity.TestBean;

package york.com.retrofit2rxjavademo.di.module;


/**
 * @author: YorkYu
 * @version: V2.0.0
 * @project: Retrofit2RxjavaDemo
 * @package: york.com.retrofit2rxjavademo.di.module
 * @description: description
 * @date: 2017/7/11
 * @time: 17:45
 */
@Module
public class MainModule {
    @Provides
    @PerActivityScope
    TestBean provideTestBean() {