-
Notifications
You must be signed in to change notification settings - Fork 89
Stetho extension
Ran Ben Aharon edited this page Aug 19, 2015
·
4 revisions
Leveraging Stetho's ability to inspect SQLite databases, you can visualize, explore and modify all provider data.
dependencies {
compile 'me.everything:providers-stetho:1.0.1'
}
Setup in default mode + this extension with all Android built-in providers
public class MainApplication extends Application {
public void onCreate() {
super.onCreate();
ProvidersStetho providersStetho = new ProvidersStetho(context);
providersStetho.enableDefaults();
Stetho.initialize(Stetho.newInitializerBuilder(context)
.enableDumpapp(Stetho.defaultDumperPluginsProvider(context))
.enableWebKitInspector(providersStetho.defaultInspectorModulesProvider())
.build());
}
}
And this is how it looks: