A
A
Alexander Popov2015-09-24 14:45:03
Android
Alexander Popov, 2015-09-24 14:45:03

How to get a picture from the response body using retrofit 2.0?

The web service has a method that returns a picture (byte array) in the response in the body,
how can I get it through retrofit?
how to describe the receiving method in the interface and how to add a converter for the response?
ps retrofit:2.0.0-beta1

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question