android-geojson
android-geojson copied to clipboard
Retrofit integration
I would like to use your library with Retrofit. This requires a converter factory which is used to introduce the parser to Retrofit.
// Retrofit 2 example with Gson
new Retrofit.Builder()
.baseUrl("https://raw.githubusercontent.com")
.addConverterFactory(GsonConverterFactory.create())
.build();
You can find Retrofit converters for other parsers here and use them as a starting point. It would be great if you can provide the converter factory.