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

core: Custom retrofit converter to remove DataWrapper<T> #29

Open
JoaquimLey opened this issue Nov 14, 2016 · 0 comments
Open

core: Custom retrofit converter to remove DataWrapper<T> #29

JoaquimLey opened this issue Nov 14, 2016 · 0 comments

Comments

@JoaquimLey
Copy link
Owner

JoaquimLey commented Nov 14, 2016

Using customer converters we can delegate the deserialization of the meta-data to the HTTP client, instead of having the abstract model Jake Wharton's talk on custom converters.

Context

This enables us to remove unnecessary boilerplate encapsulating models/code.

Process

See the talk then:

  1. Create custom converter
  2. Configure the custom converter to deserialize the metadata
  3. Feed the actual model(s) directly
  4. Make necessary Presenter(s), Service interfaces changes
@JoaquimLey JoaquimLey changed the title Custom retrofit converter to remove DataWrapper<T> core: Custom retrofit converter to remove DataWrapper<T> Nov 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant