From 839e211c44144b76d583ef0abd8ea59c8efce3f7 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Mon, 1 Sep 2014 15:35:55 -0400 Subject: [PATCH] Provide Gson in DI --- .../minimalbible/activity/viewer/BibleViewerModules.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BibleViewerModules.java b/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BibleViewerModules.java index b94e744..23a5376 100644 --- a/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BibleViewerModules.java +++ b/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BibleViewerModules.java @@ -2,6 +2,8 @@ package org.bspeice.minimalbible.activity.viewer; import android.util.Log; +import com.google.gson.Gson; + import org.bspeice.minimalbible.activity.navigation.ExpListNavAdapter; import org.bspeice.minimalbible.activity.viewer.bookutil.VersificationUtil; import org.bspeice.minimalbible.service.book.VerseLookupModules; @@ -83,4 +85,9 @@ public class BibleViewerModules { VersificationUtil provideVersificationUtil() { return new VersificationUtil(); } + + @Provides + Gson gson() { + return new Gson(); + } } \ No newline at end of file