Skip to content

converted project to use retrofit2 with optional custom OkHttpClient#8

Open
dpmedeiros wants to merge 1 commit into
inrista:masterfrom
dpmedeiros:supportRetrofit2
Open

converted project to use retrofit2 with optional custom OkHttpClient#8
dpmedeiros wants to merge 1 commit into
inrista:masterfrom
dpmedeiros:supportRetrofit2

Conversation

@dpmedeiros

Copy link
Copy Markdown

Changed the project to use retrofit 2/okHttp 3, which many new projects are converting to. I noticed that the project hasn't been updated in two years so I thought I would throw this over to you and see what you think.

You can customize the OkHttpClient to use (for instance, to override connection/read timeouts among other things) using Builder.okHttpClient(). If this is not specified it uses a client with default settings.

@edenman

edenman commented Dec 8, 2017

Copy link
Copy Markdown

This would be extremely helpful for my project. All my existing network stack stuff is on Retrofit2 and I don't relish the idea of having both Retrofit1 and Retrofit2 in my apk.

@dpmedeiros

Copy link
Copy Markdown
Author

You're welcome to refork and use my branch from this PR...I have not gotten a response in three months.

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

Successfully merging this pull request may close these issues.

2 participants