public class TestAppModule extends AppModule
Constructor and Description |
---|
TestAppModule(android.app.Application app) |
Modifier and Type | Method and Description |
---|---|
android.app.Application |
provideApplication() |
android.content.Context |
provideContext() |
java.lang.Thread.UncaughtExceptionHandler |
provideDefaultThreadUncaughtExceptionHandler() |
org.greenrobot.eventbus.EventBus |
provideEventBus() |
android.os.Handler |
provideHandler() |
android.content.SharedPreferences |
providePrivateSharedPreferences() |
android.content.SharedPreferences |
providesSharedPreferences() |
getApp, provideGLocationManager, provideRes
public android.content.Context provideContext()
provideContext
in class AppModule
public android.app.Application provideApplication()
provideApplication
in class AppModule
public org.greenrobot.eventbus.EventBus provideEventBus()
provideEventBus
in class AppModule
public java.lang.Thread.UncaughtExceptionHandler provideDefaultThreadUncaughtExceptionHandler()
provideDefaultThreadUncaughtExceptionHandler
in class AppModule
public android.content.SharedPreferences providesSharedPreferences()
providesSharedPreferences
in class AppModule
public android.content.SharedPreferences providePrivateSharedPreferences()
providePrivateSharedPreferences
in class AppModule
public android.os.Handler provideHandler()
provideHandler
in class AppModule