// Path: app/src/main/java/com/vsahin/moneycim/MoneycimApp.java
// public class MoneycimApp extends DaggerApplication {
//     @Override
//     protected AndroidInjector<? extends DaggerApplication> applicationInjector() {
//         return DaggerAppComponent.builder().create(this);
//     }
// }


import android.app.Application;
import com.vsahin.moneycim.MoneycimApp;
import com.vsahin.moneycim.ViewModelFactory;
import javax.inject.Singleton;
import androidx.lifecycle.ViewModelProvider;
import dagger.Binds;
import dagger.Module;

package com.vsahin.moneycim.Di.Modules;





/**
 * Created by Volkan Şahin on 18.08.2017.
 */

@Module
public abstract class AppModule {

    @Binds
    @Singleton

// Path: app/src/main/java/com/vsahin/moneycim/MoneycimApp.java
// public class MoneycimApp extends DaggerApplication {
//     @Override
//     protected AndroidInjector<? extends DaggerApplication> applicationInjector() {
//         return DaggerAppComponent.builder().create(this);
//     }
// }


// Path: app/src/main/java/com/vsahin/moneycim/Di/Modules/AppModule.java
import android.app.Application;
import com.vsahin.moneycim.MoneycimApp;
import com.vsahin.moneycim.ViewModelFactory;
import javax.inject.Singleton;
import androidx.lifecycle.ViewModelProvider;
import dagger.Binds;
import dagger.Module;

package com.vsahin.moneycim.Di.Modules;





/**
 * Created by Volkan Şahin on 18.08.2017.
 */

@Module
public abstract class AppModule {

    @Binds
    @Singleton

    abstract Application application(MoneycimApp app);
