Skip to content

Use proper retrofit2 async execution#6

Open
linakis wants to merge 4 commits into
loggly:masterfrom
linakis:master
Open

Use proper retrofit2 async execution#6
linakis wants to merge 4 commits into
loggly:masterfrom
linakis:master

Conversation

@linakis

@linakis linakis commented Jan 8, 2018

Copy link
Copy Markdown
Contributor

Use the new asynchronous Call instead of the old Callback way

@linakis

linakis commented Jan 9, 2018

Copy link
Copy Markdown
Contributor Author

In Retrofit 2 the Interface definition is the same for synchronous and asynchronous requests. It's up to the execution Call method execute for synchronous and enqueue for async. As opposed to Retrofit 1.9 Interface definition containing the Callback to signal asynchronous execution.

@linakis

linakis commented Apr 27, 2018

Copy link
Copy Markdown
Contributor Author

Any news on this?

@linakis

linakis commented May 14, 2018

Copy link
Copy Markdown
Contributor Author

@tony19 any updates on this pull request? it's pretty straightforward. Since retrofit 2.2.0 proguard complaints and production release fails.

@anthony-skr

Copy link
Copy Markdown

hey @linakis thank you for the patch. Saved my day 👍 too bad loggly does not maintain this library anymore.

@linakis

linakis commented Aug 26, 2018

Copy link
Copy Markdown
Contributor Author

@anthony-skr glad I helped. I've actually made some enhancements for a project I'm currently working on and probably will publish them once I'm sure they are stable.

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