Search in sources :

Example 1 with TrackAlbumImageResponse

use of org.gateshipone.malp.application.artworkdatabase.network.responses.TrackAlbumImageResponse in project malp by gateship-one.

the class TrackAlbumImageByteRequest method parseNetworkResponse.

@Override
protected Response<TrackAlbumImageResponse> parseNetworkResponse(NetworkResponse response) {
    TrackAlbumImageResponse imageResponse = new TrackAlbumImageResponse();
    imageResponse.track = mTrack;
    imageResponse.image = response.data;
    imageResponse.url = mUrl;
    return Response.success(imageResponse, null);
}
Also used : TrackAlbumImageResponse(org.gateshipone.malp.application.artworkdatabase.network.responses.TrackAlbumImageResponse)

Aggregations

TrackAlbumImageResponse (org.gateshipone.malp.application.artworkdatabase.network.responses.TrackAlbumImageResponse)1