// Path: app/src/main/java/com/tobi/movies/ApplicationComponent.java
// @ApplicationScope
// @Component(modules = BackendModule.class)
// public interface ApplicationComponent {
//     Backend backend();
// }
// 
// Path: app/src/main/java/com/tobi/movies/misc/ImageModule.java
// @Module
// public class ImageModule {
// 
//     @Provides
//     ImageLoader provideImageLoader() {
//         return new ImageLoader();
//     }
// }
// 
// Path: app/src/main/java/com/tobi/movies/misc/ThreadingModule.java
// @Module
// public class ThreadingModule {
// 
//     @IntoMap
//     @ThreadingKey(Threading.SUBSCRIBER)
//     @Provides
//     Scheduler provideSubscriberScheduler() {
//         return Schedulers.io();
//     }
// 
//     @IntoMap
//     @ThreadingKey(Threading.OBSERVER)
//     @Provides
//     Scheduler provideObserverScheduler() {
//         return AndroidSchedulers.mainThread();
//     }
// 
// }


import com.tobi.movies.ApplicationComponent;
import com.tobi.movies.di.ActivityScope;
import com.tobi.movies.misc.ImageModule;
import com.tobi.movies.misc.ThreadingModule;
import dagger.Component;
package com.tobi.movies.posterdetails;



@ActivityScope
@Component(
        modules = {
                DetailsConverterModule.class,
                DetailsApiModule.class,
                ImageModule.class,
                ThreadingModule.class
        },
// Path: app/src/main/java/com/tobi/movies/ApplicationComponent.java
// @ApplicationScope
// @Component(modules = BackendModule.class)
// public interface ApplicationComponent {
//     Backend backend();
// }
// 
// Path: app/src/main/java/com/tobi/movies/misc/ImageModule.java
// @Module
// public class ImageModule {
// 
//     @Provides
//     ImageLoader provideImageLoader() {
//         return new ImageLoader();
//     }
// }
// 
// Path: app/src/main/java/com/tobi/movies/misc/ThreadingModule.java
// @Module
// public class ThreadingModule {
// 
//     @IntoMap
//     @ThreadingKey(Threading.SUBSCRIBER)
//     @Provides
//     Scheduler provideSubscriberScheduler() {
//         return Schedulers.io();
//     }
// 
//     @IntoMap
//     @ThreadingKey(Threading.OBSERVER)
//     @Provides
//     Scheduler provideObserverScheduler() {
//         return AndroidSchedulers.mainThread();
//     }
// 
// }


// Path: app/src/main/java/com/tobi/movies/posterdetails/MovieDetailsComponent.java
import com.tobi.movies.ApplicationComponent;
import com.tobi.movies.di.ActivityScope;
import com.tobi.movies.misc.ImageModule;
import com.tobi.movies.misc.ThreadingModule;
import dagger.Component;

package com.tobi.movies.posterdetails;



@ActivityScope
@Component(
        modules = {
                DetailsConverterModule.class,
                DetailsApiModule.class,
                ImageModule.class,
                ThreadingModule.class
        },
        dependencies = ApplicationComponent.class