admin
2021-03-29 405e8b2d2ad9a2d6d51cd65173b42c9fcde0ce4f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.lcjian.library.okhttp.callback;
 
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
 
import okhttp3.Response;
 
/**
 * Created by zhy on 15/12/14.
 */
public abstract class BitmapCallback extends Callback<Bitmap>
{
    @Override
    public Bitmap parseNetworkResponse(Response response , int id) throws Exception
    {
        return BitmapFactory.decodeStream(response.body().byteStream());
    }
 
}