Making debugging easier with stetho

This commit is contained in:
maskara 2017-05-15 16:51:44 +02:00
parent 9a2ab847e7
commit c49720c777
2 changed files with 4 additions and 0 deletions

View file

@ -14,6 +14,7 @@ import com.android.volley.RequestQueue;
import com.android.volley.toolbox.BasicNetwork;
import com.android.volley.toolbox.DiskBasedCache;
import com.android.volley.toolbox.HurlStack;
import com.facebook.stetho.Stetho;
import com.nostra13.universalimageloader.cache.disc.impl.TotalSizeLimitedDiscCache;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;
@ -94,6 +95,8 @@ public class CommonsApplication extends Application {
Timber.plant(new Timber.DebugTree());
Stetho.initializeWithDefaults(this);
if (!BuildConfig.DEBUG) {
ACRA.init(this);
}