摘要:
1、volleyVolleyUtils.getLoader(context).get(datas.get(position), ImageLoader.getImageListener( holder.iv, R.drawable.ic_launcher, android.R.drawable...
阅读全文
posted @ 2015-10-09 08:25
毕哥
阅读(615)
推荐(0)
摘要:
//使用Bitmap加Matrix来缩放 public static Drawable resizeImage(Bitmap bitmap, int w, int h) { Bitmap BitmapOrg = bitmap; int width =...
阅读全文
posted @ 2015-10-08 21:41
毕哥
阅读(187)
推荐(0)
摘要:
networkImageView 设置图片的方法 (有效) imageView.setImageUrl("https://www.baidu.com/img/bd_logo1.png", imageLoader); (暂时无效的方法) /* imageLoader.get( ...
阅读全文
posted @ 2015-10-08 21:35
毕哥
阅读(275)
推荐(0)
摘要:
类实现了Parcelable接口就可以在Intent中传递 只要在类的定义中实现Parcelable接口代码 1 package entity; 2 3 import android.os.Parcel; 4 import android.os.Parcelable; 5 6 public cl...
阅读全文
posted @ 2015-10-03 16:42
毕哥
阅读(408)
推荐(0)
摘要:
btn.setCompoundDrawablesWithIntrinsicBounds(R.drawable.icon_galley_comment, 0, 0,0);四个参数分别是左上右下四个方向的图片全设为0则为不设图片设置布局文件 点击图片选择器文字颜色选择器风格设定 1 2 3 ...
阅读全文
posted @ 2015-09-30 14:31
毕哥
阅读(502)
推荐(0)
摘要:
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);requestWindowFeature(Window.FEATURE_NO_TI
阅读全文
posted @ 2015-09-29 21:32
毕哥
阅读(156)
推荐(0)
摘要:
case R.id.ib_zixundetail_fenxiang: String txt= "给您分享一个不错的内容:title(http://www.baidu.com)"; Intent intent=new Intent(Intent.ACTION_SEND); intent.s...
阅读全文
posted @ 2015-09-29 19:56
毕哥
阅读(152)
推荐(0)
摘要:
不用万能适配器volley都能搞定如果用万能适配器则不能用volley(因为万能适配器里边有自己的settag)可以用NUtils在NUtils里边自定义三级缓存每次设图片时都去访问三级缓存 1 package com.example.wannengadapter; 2 3 import java...
阅读全文
posted @ 2015-09-28 19:40
毕哥
阅读(255)
推荐(0)
摘要:
http://blog.csdn.net/awangyunke/article/details/44223951
阅读全文
posted @ 2015-09-28 09:06
毕哥
阅读(184)
推荐(0)
摘要:
public class Fragment_shouye extends Fragment { private List datas; private TopView top; @Override public void onCreate(Bundle savedInstan...
阅读全文
posted @ 2015-09-25 20:12
毕哥
阅读(729)
推荐(0)