Created
October 25, 2016 11:11
-
-
Save mplacona/5018e194c012817c3ffe762550238bb9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OkHttpClient okClient = new OkHttpClient | |
| .Builder() | |
| .addNetworkInterceptor(new StethoInterceptor()) | |
| .build(); | |
| mPicasso = new Picasso.Builder(getApplicationContext()) | |
| .downloader(new OkHttp3Downloader(okClient)) | |
| .loggingEnabled(true) | |
| .build(); | |
| if (BuildConfig.DEBUG) { | |
| Stetho.initializeWithDefaults(this); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment