// Path: 2016-06-15_hot_and_cold/app/src/main/java/com/gdgand/rxjava/rxjavasample/hotandcold/data/imgur/ImgurApi.java
// public interface ImgurApi {
// 
// 	@GET("/3/topics/defaults")
// 	Observable<TopicResponse> defaultTopics();
// }
// 
// Path: 2016-06-15_hot_and_cold/app/src/main/java/com/gdgand/rxjava/rxjavasample/hotandcold/di/module/ApplicationModule.java
// @Module
// public class ApplicationModule {
// 	private Application application;
// 	public ApplicationModule(Application application) {
// 		this.application = application;
// 	}
// 
// 	@Provides
// 	@Singleton
// 	public Context context() {
// 		return application;
// 	}
// 
// }
// 
// Path: 2016-06-15_hot_and_cold/app/src/main/java/com/gdgand/rxjava/rxjavasample/hotandcold/di/module/DataModule.java
// @Module
// public class DataModule {
// 
// 	@Provides
// 	@Singleton
// 	public Converter.Factory converterFactory() {
// 		return GsonConverterFactory.create();
// 	}
// 
// 
// 	@Provides
// 	@Singleton
// 	public CallAdapter.Factory callAdapterFactory() {
// 		return RxJavaCallAdapterFactory.create();
// 	}
// 
// 	@Provides
// 	@Singleton
// 	public OkHttpClient okHttpClient() {
// 		HttpLoggingInterceptor interceptor = new HttpLoggingInterceptor();
// 		interceptor.setLevel(HttpLoggingInterceptor.Level.BODY);
// 
// 		return new OkHttpClient.Builder()
// 			.addInterceptor(interceptor)
// 			.build();
// 	}
// 
// 	@Provides
// 	@Singleton
// 	public Retrofit retrofit(OkHttpClient client, CallAdapter.Factory callAdapterFactory, Converter.Factory converterFactory) {
// 		return new Retrofit.Builder()
// 			.baseUrl("https://api.imgur.com")
// 			.client(client)
// 			.addCallAdapterFactory(callAdapterFactory)
// 			.addConverterFactory(converterFactory)
// 			.build();
// 	}
// 
// 	@Provides
// 	@Singleton
// 	public ImgurApi imgurApi(Retrofit retrofit) {
// 		return retrofit.create(ImgurApi.class);
// 	}
// }


import android.content.Context;
import com.gdgand.rxjava.rxjavasample.hotandcold.data.imgur.ImgurApi;
import com.gdgand.rxjava.rxjavasample.hotandcold.di.module.ApplicationModule;
import com.gdgand.rxjava.rxjavasample.hotandcold.di.module.DataModule;
import dagger.Component;
import javax.inject.Singleton;
package com.gdgand.rxjava.rxjavasample.hotandcold.di.component;





@Singleton
@Component(modules = { ApplicationModule.class, DataModule.class })
public interface ApplicationComponent {
	Context context();
// Path: 2016-06-15_hot_and_cold/app/src/main/java/com/gdgand/rxjava/rxjavasample/hotandcold/data/imgur/ImgurApi.java
// public interface ImgurApi {
// 
// 	@GET("/3/topics/defaults")
// 	Observable<TopicResponse> defaultTopics();
// }
// 
// Path: 2016-06-15_hot_and_cold/app/src/main/java/com/gdgand/rxjava/rxjavasample/hotandcold/di/module/ApplicationModule.java
// @Module
// public class ApplicationModule {
// 	private Application application;
// 	public ApplicationModule(Application application) {
// 		this.application = application;
// 	}
// 
// 	@Provides
// 	@Singleton
// 	public Context context() {
// 		return application;
// 	}
// 
// }
// 
// Path: 2016-06-15_hot_and_cold/app/src/main/java/com/gdgand/rxjava/rxjavasample/hotandcold/di/module/DataModule.java
// @Module
// public class DataModule {
// 
// 	@Provides
// 	@Singleton
// 	public Converter.Factory converterFactory() {
// 		return GsonConverterFactory.create();
// 	}
// 
// 
// 	@Provides
// 	@Singleton
// 	public CallAdapter.Factory callAdapterFactory() {
// 		return RxJavaCallAdapterFactory.create();
// 	}
// 
// 	@Provides
// 	@Singleton
// 	public OkHttpClient okHttpClient() {
// 		HttpLoggingInterceptor interceptor = new HttpLoggingInterceptor();
// 		interceptor.setLevel(HttpLoggingInterceptor.Level.BODY);
// 
// 		return new OkHttpClient.Builder()
// 			.addInterceptor(interceptor)
// 			.build();
// 	}
// 
// 	@Provides
// 	@Singleton
// 	public Retrofit retrofit(OkHttpClient client, CallAdapter.Factory callAdapterFactory, Converter.Factory converterFactory) {
// 		return new Retrofit.Builder()
// 			.baseUrl("https://api.imgur.com")
// 			.client(client)
// 			.addCallAdapterFactory(callAdapterFactory)
// 			.addConverterFactory(converterFactory)
// 			.build();
// 	}
// 
// 	@Provides
// 	@Singleton
// 	public ImgurApi imgurApi(Retrofit retrofit) {
// 		return retrofit.create(ImgurApi.class);
// 	}
// }


// Path: 2016-06-15_hot_and_cold/app/src/main/java/com/gdgand/rxjava/rxjavasample/hotandcold/di/component/ApplicationComponent.java
import android.content.Context;
import com.gdgand.rxjava.rxjavasample.hotandcold.data.imgur.ImgurApi;
import com.gdgand.rxjava.rxjavasample.hotandcold.di.module.ApplicationModule;
import com.gdgand.rxjava.rxjavasample.hotandcold.di.module.DataModule;
import dagger.Component;
import javax.inject.Singleton;

package com.gdgand.rxjava.rxjavasample.hotandcold.di.component;





@Singleton
@Component(modules = { ApplicationModule.class, DataModule.class })
public interface ApplicationComponent {
	Context context();
	ImgurApi imgurApi();