mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-22 07:58:20 -05:00
Provide Gson in DI
This commit is contained in:
parent
c9098c570c
commit
839e211c44
@ -2,6 +2,8 @@ package org.bspeice.minimalbible.activity.viewer;
|
|||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
|
import com.google.gson.Gson;
|
||||||
|
|
||||||
import org.bspeice.minimalbible.activity.navigation.ExpListNavAdapter;
|
import org.bspeice.minimalbible.activity.navigation.ExpListNavAdapter;
|
||||||
import org.bspeice.minimalbible.activity.viewer.bookutil.VersificationUtil;
|
import org.bspeice.minimalbible.activity.viewer.bookutil.VersificationUtil;
|
||||||
import org.bspeice.minimalbible.service.book.VerseLookupModules;
|
import org.bspeice.minimalbible.service.book.VerseLookupModules;
|
||||||
@ -83,4 +85,9 @@ public class BibleViewerModules {
|
|||||||
VersificationUtil provideVersificationUtil() {
|
VersificationUtil provideVersificationUtil() {
|
||||||
return new VersificationUtil();
|
return new VersificationUtil();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Provides
|
||||||
|
Gson gson() {
|
||||||
|
return new Gson();
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user