Provide Gson in DI

This commit is contained in:
Bradlee Speice 2014-09-01 15:35:55 -04:00
parent c9098c570c
commit 839e211c44

View File

@ -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();
}
}