// Path: presentation/src/main/java/eu/rampsoftware/er/view/currencies/CurrenciesActivity.java
// public class CurrenciesActivity extends BaseActivity<CurrenciesActivitySubComponent> {
// 
//     @Inject
//     CurrencyListViewModel mViewModel;
// 
//     @Override
//     protected void onCreate(Bundle savedInstanceState) {
//         super.onCreate(savedInstanceState);
//         ViewDataBinding binding = DataBindingUtil.setContentView(this, R.layout.activity_currencies);
//         binding.setVariable(BR.model, mViewModel);
//         if (!isRetained(savedInstanceState)) {
//             mViewModel.onLoad(null);
//         }
//     }
// 
//     @Override
//     protected void onDestroy() {
//         if(!isChangingConfigurations()) {
//             mViewModel.dispose();
//         }
//         super.onDestroy();
//     }
// 
//     @Override
//     protected void injectDependencies(final CurrenciesActivitySubComponent activityComponent) {
//         activityComponent.inject(this);
//     }
// 
//     protected CurrenciesActivitySubComponent newComponent() {
//         return ((ExchangeRatesApplication) getApplication())
//                 .getApplicationComponent()
//                 .newCurrenciesActivitySubComponent(new CurrenciesActivityModule(this));
//     }
// 
// }


import dagger.Subcomponent;
import eu.rampsoftware.er.view.currencies.CurrenciesActivity;
package eu.rampsoftware.er.di;


/**
 * Subcomponent of the dependency graph.
 * Subcomponents have their own life-cycle and can be garbage collected when all references to the subcomponent are gone.
 */
@CurrenciesActivityScope
@Subcomponent(modules={ CurrenciesActivityModule.class })
public interface CurrenciesActivitySubComponent {

// Path: presentation/src/main/java/eu/rampsoftware/er/view/currencies/CurrenciesActivity.java
// public class CurrenciesActivity extends BaseActivity<CurrenciesActivitySubComponent> {
// 
//     @Inject
//     CurrencyListViewModel mViewModel;
// 
//     @Override
//     protected void onCreate(Bundle savedInstanceState) {
//         super.onCreate(savedInstanceState);
//         ViewDataBinding binding = DataBindingUtil.setContentView(this, R.layout.activity_currencies);
//         binding.setVariable(BR.model, mViewModel);
//         if (!isRetained(savedInstanceState)) {
//             mViewModel.onLoad(null);
//         }
//     }
// 
//     @Override
//     protected void onDestroy() {
//         if(!isChangingConfigurations()) {
//             mViewModel.dispose();
//         }
//         super.onDestroy();
//     }
// 
//     @Override
//     protected void injectDependencies(final CurrenciesActivitySubComponent activityComponent) {
//         activityComponent.inject(this);
//     }
// 
//     protected CurrenciesActivitySubComponent newComponent() {
//         return ((ExchangeRatesApplication) getApplication())
//                 .getApplicationComponent()
//                 .newCurrenciesActivitySubComponent(new CurrenciesActivityModule(this));
//     }
// 
// }


// Path: presentation/src/main/java/eu/rampsoftware/er/di/CurrenciesActivitySubComponent.java
import dagger.Subcomponent;
import eu.rampsoftware.er.view.currencies.CurrenciesActivity;

package eu.rampsoftware.er.di;


/**
 * Subcomponent of the dependency graph.
 * Subcomponents have their own life-cycle and can be garbage collected when all references to the subcomponent are gone.
 */
@CurrenciesActivityScope
@Subcomponent(modules={ CurrenciesActivityModule.class })
public interface CurrenciesActivitySubComponent {

    void inject(CurrenciesActivity currenciesActivity);