package cn.garymb.ygomobile.ui.online.mcchat.util;
import android.widget.*;
import com.bumptech.glide.*;
import android.net.*;
import android.content.*;
import com.bumptech.glide.load.engine.*;

import cn.garymb.ygomobile.lite.R;

public class ImageUtil
{
	public  static void tuxian(Context context,String url,final ImageView im){
		if(url!=null){
            Glide.with(context)
                .load(Uri.parse(url))
				.asBitmap()
			 	.diskCacheStrategy(DiskCacheStrategy.SOURCE)
				.placeholder(R.drawable.avatar)
                .into(im);
        }
    }
	
}
