Dima-369 / fuel-stetho-client

Source file to integrate Stetho into Fuel - The easiest HTTP networking library for Kotlin/Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integrates Stetho into Fuel

Set the client instance, preferably in Application.onCreate():

if (BuildConfig.DEBUG) {
	FuelManager.instance.client = FuelStethoClient()
}

build.gradle needs to be extended as well:

dependencies {
	compile 'com.facebook.stetho:stetho:1.4.2'
	compile 'com.facebook.stetho:stetho-urlconnection:1.4.2'
}

Notes

  • The call to StethoURLConnectionManager.httpExchangeFailed() is missing.

About

Source file to integrate Stetho into Fuel - The easiest HTTP networking library for Kotlin/Android

License:MIT License


Languages

Language:Kotlin 100.0%