Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrofit integration #12

Open
johnjohndoe opened this issue Nov 2, 2015 · 0 comments
Open

Retrofit integration #12

johnjohndoe opened this issue Nov 2, 2015 · 0 comments

Comments

@johnjohndoe
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant