// Path: mobile/src/main/java/io/ashdavies/eternity/Eternity.java
// public class Eternity extends DaggerApplication {
// 
//   @Override
//   protected AndroidInjector<? extends DaggerApplication> applicationInjector() {
//     return DaggerApplicationComponent.builder().create(this);
//   }
// }
// 
// Path: mobile/src/main/java/io/ashdavies/eternity/android/StringResolver.java
// public class StringResolver {
// 
//   private final Resources resources;
// 
//   @Inject
//   public StringResolver(Resources resources) {
//     this.resources = resources;
//   }
// 
//   public String get(@StringRes int resId, Object... args) {
//     return resources.getString(resId, args);
//   }
// }


import android.app.Application;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import dagger.Binds;
import dagger.Module;
import dagger.Provides;
import io.ashdavies.eternity.Eternity;
import io.ashdavies.eternity.android.StringResolver;
package io.ashdavies.eternity.inject;


@Module
abstract class ApplicationModule {

  @Binds
// Path: mobile/src/main/java/io/ashdavies/eternity/Eternity.java
// public class Eternity extends DaggerApplication {
// 
//   @Override
//   protected AndroidInjector<? extends DaggerApplication> applicationInjector() {
//     return DaggerApplicationComponent.builder().create(this);
//   }
// }
// 
// Path: mobile/src/main/java/io/ashdavies/eternity/android/StringResolver.java
// public class StringResolver {
// 
//   private final Resources resources;
// 
//   @Inject
//   public StringResolver(Resources resources) {
//     this.resources = resources;
//   }
// 
//   public String get(@StringRes int resId, Object... args) {
//     return resources.getString(resId, args);
//   }
// }


// Path: mobile/src/main/java/io/ashdavies/eternity/inject/ApplicationModule.java
import android.app.Application;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import dagger.Binds;
import dagger.Module;
import dagger.Provides;
import io.ashdavies.eternity.Eternity;
import io.ashdavies.eternity.android.StringResolver;

package io.ashdavies.eternity.inject;


@Module
abstract class ApplicationModule {

  @Binds
  abstract Application application(Eternity eternity);