mirror of
				https://github.com/MinimalBible/MinimalBible
				synced 2025-11-03 18:10:27 -05:00 
			
		
		
		
	Provide Gson in DI
This commit is contained in:
		@ -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();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user