mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-12-22 14:48:23 -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 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();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user