From 267574e9665d64a33c933b00e98f6c6ca6e62c1e Mon Sep 17 00:00:00 2001 From: houxg Date: Mon, 21 Nov 2016 15:27:33 +0800 Subject: [PATCH] import stetho --- app/build.gradle | 1 + app/src/main/java/org/houxg/leanotelite/LeanoteLite.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 6433bdc..8817da0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -68,4 +68,5 @@ dependencies { compile 'jp.wasabeef:glide-transformations:2.0.1' compile 'com.android.support:support-v13:24.1.0' compile project(':img-selector') + compile 'com.facebook.stetho:stetho:1.4.1' } diff --git a/app/src/main/java/org/houxg/leanotelite/LeanoteLite.java b/app/src/main/java/org/houxg/leanotelite/LeanoteLite.java index 8fe3773..cfbb7eb 100644 --- a/app/src/main/java/org/houxg/leanotelite/LeanoteLite.java +++ b/app/src/main/java/org/houxg/leanotelite/LeanoteLite.java @@ -4,6 +4,7 @@ package org.houxg.leanotelite; import android.app.Application; import android.content.Context; +import com.facebook.stetho.Stetho; import com.raizlabs.android.dbflow.config.FlowConfig; import com.raizlabs.android.dbflow.config.FlowManager; @@ -27,5 +28,6 @@ public class LeanoteLite extends Application { .throwSubscriberException(true) .installDefaultEventBus(); FlowManager.init(new FlowConfig.Builder(this).build()); + Stetho.initializeWithDefaults(this); } }