Stetho is a tool that lets you log and view your network requests and more on Android.
// typical initialization of Stetho Stetho.initialize( Stetho.newInitializerBuilder(this) .enableDumpapp(Stetho.defaultDumperPluginsProvider(this)) .enableWebKitInspector(Stetho.defaultInspectorModulesProvider(this)) .build()); Ion.getDefault(this).getHttpClient().getMiddleware() .add(new StethoMiddleware());
// typical initialization of Stetho Stetho.initialize( Stetho.newInitializerBuilder(this) .enableDumpapp(Stetho.defaultDumperPluginsProvider(this)) .enableWebKitInspector(Stetho.defaultInspectorModulesProvider(this)) .build()); AsyncHttpClient.getDefaultInstance().getMiddleware() .add(new StethoMiddleware());