Search in sources :

Example 1 with FontAwesomeModule

use of com.joanzapata.iconify.fonts.FontAwesomeModule in project AntennaPod by AntennaPod.

the class PodcastApp method onCreate.

@Override
public void onCreate() {
    super.onCreate();
    Thread.setDefaultUncaughtExceptionHandler(new CrashReportWriter());
    RxJavaErrorHandlerSetup.setupRxJavaErrorHandler();
    if (BuildConfig.DEBUG) {
        StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder().detectLeakedSqlLiteObjects().penaltyLog().penaltyDropBox().detectActivityLeaks().detectLeakedClosableObjects().detectLeakedRegistrationObjects();
        StrictMode.setVmPolicy(builder.build());
    }
    singleton = this;
    ClientConfig.initialize(this);
    Iconify.with(new FontAwesomeModule());
    Iconify.with(new MaterialModule());
    SPAUtil.sendSPAppsQueryFeedsIntent(this);
    EventBus.builder().addIndex(new ApEventBusIndex()).addIndex(new ApCoreEventBusIndex()).logNoSubscriberMessages(false).sendNoSubscriberEvent(false).installDefaultEventBus();
}
Also used : CrashReportWriter(de.danoeh.antennapod.error.CrashReportWriter) StrictMode(android.os.StrictMode) ApCoreEventBusIndex(de.danoeh.antennapod.core.ApCoreEventBusIndex) FontAwesomeModule(com.joanzapata.iconify.fonts.FontAwesomeModule) MaterialModule(com.joanzapata.iconify.fonts.MaterialModule)

Example 2 with FontAwesomeModule

use of com.joanzapata.iconify.fonts.FontAwesomeModule in project SQLPractice by Gear61.

the class MyApplication method onCreate.

public void onCreate() {
    super.onCreate();
    Iconify.with(new IoniconsModule()).with(new FontAwesomeModule());
}
Also used : FontAwesomeModule(com.joanzapata.iconify.fonts.FontAwesomeModule) IoniconsModule(com.joanzapata.iconify.fonts.IoniconsModule)

Example 3 with FontAwesomeModule

use of com.joanzapata.iconify.fonts.FontAwesomeModule in project SQLPractice by Gear61.

the class MyApplication method onCreate.

public void onCreate() {
    super.onCreate();
    MyApplication.context = getApplicationContext();
    Iconify.with(new IoniconsModule()).with(new FontAwesomeModule());
}
Also used : FontAwesomeModule(com.joanzapata.iconify.fonts.FontAwesomeModule) IoniconsModule(com.joanzapata.iconify.fonts.IoniconsModule)

Example 4 with FontAwesomeModule

use of com.joanzapata.iconify.fonts.FontAwesomeModule in project TeamCityApp by vase4kin.

the class TeamCityApplication method onCreate.

@Override
public void onCreate() {
    super.onCreate();
    // #=============== Fabric ================#//
    if (!BuildConfig.DEBUG) {
        Fabric.with(this, new Crashlytics());
    }
    // #=============== Iconify ================#//
    Iconify.with(new MaterialModule()).with(new MaterialCommunityModule()).with(new FontAwesomeModule());
    // #=============== Dagger ================#//
    // app injector init
    // net injector init
    mAppInjector = DaggerAppComponent.builder().appModule(new AppModule(this)).build();
    // Get default url
    String mBaseUrl = mAppInjector.sharedUserStorage().getActiveUser().getTeamcityUrl();
    // Rest api init
    if (!TextUtils.isEmpty(mBaseUrl)) {
        buildRestApiInjectorWithBaseUrl(mBaseUrl);
    }
}
Also used : AppModule(com.github.vase4kin.teamcityapp.dagger.modules.AppModule) FontAwesomeModule(com.joanzapata.iconify.fonts.FontAwesomeModule) MaterialModule(com.joanzapata.iconify.fonts.MaterialModule) Crashlytics(com.crashlytics.android.Crashlytics) MaterialCommunityModule(com.joanzapata.iconify.fonts.MaterialCommunityModule)

Example 5 with FontAwesomeModule

use of com.joanzapata.iconify.fonts.FontAwesomeModule in project EnhancedEditText by DayS.

the class SampleApplication method onCreate.

@Override
public void onCreate() {
    super.onCreate();
    Iconify.with(new FontAwesomeModule());
}
Also used : FontAwesomeModule(com.joanzapata.iconify.fonts.FontAwesomeModule)

Aggregations

FontAwesomeModule (com.joanzapata.iconify.fonts.FontAwesomeModule)7 IoniconsModule (com.joanzapata.iconify.fonts.IoniconsModule)2 MaterialModule (com.joanzapata.iconify.fonts.MaterialModule)2 Application (android.app.Application)1 IntentFilter (android.content.IntentFilter)1 StrictMode (android.os.StrictMode)1 MultiDexApplication (android.support.multidex.MultiDexApplication)1 Crashlytics (com.crashlytics.android.Crashlytics)1 AppModule (com.github.vase4kin.teamcityapp.dagger.modules.AppModule)1 Module (com.google.inject.Module)1 MaterialCommunityModule (com.joanzapata.iconify.fonts.MaterialCommunityModule)1 ApCoreEventBusIndex (de.danoeh.antennapod.core.ApCoreEventBusIndex)1 CrashReportWriter (de.danoeh.antennapod.error.CrashReportWriter)1 EdxDefaultModule (org.edx.mobile.core.EdxDefaultModule)1 AnswersAnalytics (org.edx.mobile.module.analytics.AnswersAnalytics)1 FirebaseAnalytics (org.edx.mobile.module.analytics.FirebaseAnalytics)1 SegmentAnalytics (org.edx.mobile.module.analytics.SegmentAnalytics)1 NetworkConnectivityReceiver (org.edx.mobile.receivers.NetworkConnectivityReceiver)1