• Realtek RTL8192EU chipset (0bda:818b) ubuntu 驱动程序

    tplink 823n无线网卡驱动

    4
    2038
    1.13MB
    2017-03-13
    42
  • android Textview 实现html 图片显示

    android Textview 实现html 图片点击 两种方式 一种是用webview ,调用jsInterface实现 另一种是 textview 使用Html.from()方法

    0
    311
    5.13MB
    2015-07-24
    35
  • picasso 图片库

    github 地址 https://github.com/square/picasso ADAPTER DOWNLOADS Adapter re-use is automatically detected and the previous download canceled. @Override public void getView(int position, View convertView, ViewGroup parent) { SquaredImageView view = (SquaredImageView) convertView; if (view == null) { view = new SquaredImageView(context); } String url = getItem(position); Picasso.with(context).load(url).into(view); } IMAGE TRANSFORMATIONS Transform images to better fit into layouts and to reduce memory size. Picasso.with(context) .load(url) .resize(50, 50) .centerCrop() .into(imageView) You can also specify custom transformations for more advanced effects. public class CropSquareTransformation implements Transformation { @Override public Bitmap transform(Bitmap source) { int size = Math.min(source.getWidth(), source.getHeight()); int x = (source.getWidth() - size) / 2; int y = (source.getHeight() - size) / 2; Bitmap result = Bitmap.createBitmap(source, x, y, size, size); if (result != source) { source.recycle(); } return result; } @Override public String key() { return "square()"; } } Pass an instance of this class to the transform method. PLACE HOLDERS Picasso supports both download and error placeholders as optional features. Picasso.with(context) .load(url) .placeholder(R.drawable.user_placeholder) .error(R.drawable.user_placeholder_error) .into(imageView); A request will be retried three times before the error placeholder is shown. RESOURCE LOADING Resources, assets, files, content providers are all supported as image sources. Picasso.with(context).load(R.drawable.landing_screen).into(imageView1); Picasso.with(context).load("file:///android_asset/DvpvklR.png").into(imageView2); Picasso.with(context).load(new File(...)).into(imageView3); DEBUG INDICATORS For development you can enable the display of a colored ribbon which indicates the image source. Call setIndicatorsEnabled(true) on the Picasso instance.

    0
    36
    118KB
    2015-06-19
    2
  • mysql 驱动

    java 开发连接mysql数据库驱动 版本:5.1.35

    0
    35
    3.99MB
    2015-05-15
    0
  • zxing jar 包

    条形码 二维码扫描库 支持目前为止所有的二维码编码格式 zxing 3.2.1 2015-04 打包

    0
    48
    531KB
    2015-05-15
    9
  • volley jar包 1.0.15

    volley jar包 google官方开源项目 网络通讯 支持图片加载 更新至2015-03

    0
    65
    91KB
    2015-05-15
    9
  • 持续创作

    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
关注 私信
上传资源赚积分or赚钱