// Path: app/src/main/java/com/yunq/gankio/injection/component/ApplicationComponent.java
// @Singleton
// @Component(modules = ApplicationModule.class)
// public interface ApplicationComponent {
//     //@ApplicationContext
//   //  Context context();
// 
//     Application application();
// 
//     OkHttpClient okHttpClient();
// 
//     DataManager dataManager();
// 
// 
// }
// 
// Path: app/src/main/java/com/yunq/gankio/injection/module/ApplicationModule.java
// @Module
// public class ApplicationModule {
//     protected final Application mApplication;
// 
//     public ApplicationModule(Application application) {
//         mApplication = application;
//     }
// 
//     @Provides
//     Application provideApplication() {
//         return mApplication;
//     }
// 
// //    @Provides
// //   // @ApplicationContext
// //    Context provideContext() {
// //        return mApplication;
// //    }
// 
//     @Provides
//     @Singleton
//     OkHttpClient provideOkHttpClient() {
//         OkHttpClient.Builder builder = new OkHttpClient.Builder();
//         builder.cache(new Cache(mApplication.getCacheDir(), 10 * 1024 * 1024));
//         builder.addInterceptor(HttpUtils.getCacheInterceptor(mApplication));
//         return builder.build();
//     }
// 
// 
// }


import android.app.Application;
import android.content.Context;
import android.os.StrictMode;
import com.squareup.leakcanary.LeakCanary;
import com.squareup.leakcanary.RefWatcher;
import com.yunq.gankio.injection.component.ApplicationComponent;
import com.yunq.gankio.injection.component.DaggerApplicationComponent;
import com.yunq.gankio.injection.module.ApplicationModule;
import timber.log.Timber;
package com.yunq.gankio;





/**
 * Created by admin on 16/1/5.
 */
public class GankApp extends Application {

    private RefWatcher refWatcher;

    ApplicationComponent mApplicationComponent;

    @Override
    public void onCreate() {
// Path: app/src/main/java/com/yunq/gankio/injection/component/ApplicationComponent.java
// @Singleton
// @Component(modules = ApplicationModule.class)
// public interface ApplicationComponent {
//     //@ApplicationContext
//   //  Context context();
// 
//     Application application();
// 
//     OkHttpClient okHttpClient();
// 
//     DataManager dataManager();
// 
// 
// }
// 
// Path: app/src/main/java/com/yunq/gankio/injection/module/ApplicationModule.java
// @Module
// public class ApplicationModule {
//     protected final Application mApplication;
// 
//     public ApplicationModule(Application application) {
//         mApplication = application;
//     }
// 
//     @Provides
//     Application provideApplication() {
//         return mApplication;
//     }
// 
// //    @Provides
// //   // @ApplicationContext
// //    Context provideContext() {
// //        return mApplication;
// //    }
// 
//     @Provides
//     @Singleton
//     OkHttpClient provideOkHttpClient() {
//         OkHttpClient.Builder builder = new OkHttpClient.Builder();
//         builder.cache(new Cache(mApplication.getCacheDir(), 10 * 1024 * 1024));
//         builder.addInterceptor(HttpUtils.getCacheInterceptor(mApplication));
//         return builder.build();
//     }
// 
// 
// }


// Path: app/src/main/java/com/yunq/gankio/GankApp.java
import android.app.Application;
import android.content.Context;
import android.os.StrictMode;
import com.squareup.leakcanary.LeakCanary;
import com.squareup.leakcanary.RefWatcher;
import com.yunq.gankio.injection.component.ApplicationComponent;
import com.yunq.gankio.injection.component.DaggerApplicationComponent;
import com.yunq.gankio.injection.module.ApplicationModule;
import timber.log.Timber;

package com.yunq.gankio;





/**
 * Created by admin on 16/1/5.
 */
public class GankApp extends Application {

    private RefWatcher refWatcher;

    ApplicationComponent mApplicationComponent;

    @Override
    public void onCreate() {
        super.onCreate();