// Path: 2016-06-15_hot_and_cold/app/src/main/java/com/gdgand/rxjava/rxjavasample/hotandcold/views/progress/ProgressIndicatorProvider.java
// public class ProgressIndicatorProvider {
// 
// 	private Activity activity;
// 
// 	public ProgressIndicatorProvider(Activity activity) {
// 		this.activity = activity;
// 	}
// 
// 	public ProgressDialog provide() {
// 		return provide(activity.getString(R.string.message_progress));
// 	}
// 
// 	public ProgressDialog provide(String message) {
// 		ProgressDialog progressDialog = new ProgressDialog(activity);
// 		progressDialog.setCancelable(false);
// 		progressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
// 		progressDialog.setMessage(message);
// 		return progressDialog;
// 	}
// 
// }


import android.app.Activity;
import com.gdgand.rxjava.rxjavasample.hotandcold.di.PerActivity;
import com.gdgand.rxjava.rxjavasample.hotandcold.views.progress.ProgressIndicatorProvider;
import dagger.Module;
import dagger.Provides;
package com.gdgand.rxjava.rxjavasample.hotandcold.di.module;




@Module
public class ActivityModule {

	private Activity activity;

	public ActivityModule(Activity activity) {
		this.activity = activity;
	}

	@Provides
	@PerActivity
	public Activity activity() {
		return activity;
	}

	@Provides
	@PerActivity
// Path: 2016-06-15_hot_and_cold/app/src/main/java/com/gdgand/rxjava/rxjavasample/hotandcold/views/progress/ProgressIndicatorProvider.java
// public class ProgressIndicatorProvider {
// 
// 	private Activity activity;
// 
// 	public ProgressIndicatorProvider(Activity activity) {
// 		this.activity = activity;
// 	}
// 
// 	public ProgressDialog provide() {
// 		return provide(activity.getString(R.string.message_progress));
// 	}
// 
// 	public ProgressDialog provide(String message) {
// 		ProgressDialog progressDialog = new ProgressDialog(activity);
// 		progressDialog.setCancelable(false);
// 		progressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
// 		progressDialog.setMessage(message);
// 		return progressDialog;
// 	}
// 
// }


// Path: 2016-06-15_hot_and_cold/app/src/main/java/com/gdgand/rxjava/rxjavasample/hotandcold/di/module/ActivityModule.java
import android.app.Activity;
import com.gdgand.rxjava.rxjavasample.hotandcold.di.PerActivity;
import com.gdgand.rxjava.rxjavasample.hotandcold.views.progress.ProgressIndicatorProvider;
import dagger.Module;
import dagger.Provides;

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




@Module
public class ActivityModule {

	private Activity activity;

	public ActivityModule(Activity activity) {
		this.activity = activity;
	}

	@Provides
	@PerActivity
	public Activity activity() {
		return activity;
	}

	@Provides
	@PerActivity
	public ProgressIndicatorProvider progressIndicatorProvider(Activity activity) {