Created
December 27, 2017 04:52
-
-
Save Velmm/607a76899a3ad77f7938ef80e7230059 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import retrofit2.Retrofit; | |
import retrofit2.converter.gson.GsonConverterFactory; | |
public class LatestRepo { | |
private static Retrofit retrofit = null; | |
static Retrofit getInstance(){ | |
retrofit = new Retrofit.Builder().baseUrl("http://velmm.com/apis/").addConverterFactory(GsonConverterFactory.create()).build(); | |
return retrofit; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment