Upgrade to EventBus 3

This commit is contained in:
inorichi
2016-02-09 21:19:11 +01:00
parent 7835921045
commit e348d6c1cf
17 changed files with 83 additions and 88 deletions

View File

@@ -5,6 +5,7 @@ import android.content.Context;
import org.acra.ACRA;
import org.acra.annotation.ReportsCrashes;
import org.greenrobot.eventbus.EventBus;
import eu.kanade.tachiyomi.injection.ComponentReflectionInjector;
import eu.kanade.tachiyomi.injection.component.AppComponent;
@@ -39,6 +40,11 @@ public class App extends Application {
componentInjector =
new ComponentReflectionInjector<>(AppComponent.class, applicationComponent);
EventBus.builder()
.addIndex(new EventBusIndex())
.logNoSubscriberMessages(false)
.installDefaultEventBus();
ACRA.init(this);
}