自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(1)
  • 资源 (7)
  • 收藏
  • 关注

原创 spring boot 开发相关

版权声明:本文为博主原创文章,转载请注明出处。用了spring boot有一段时间了,中途也遇到过一些坑.下面记录一下: 刚开始使用eclipse做开发,但是对于做android的我来说,eclipse很久不用了,最主要的是eclipse需要自己安装gradle,然后将web项目转成gradle项目.太麻烦了.鉴于spring boot内置tomcat,本身就是一个java程序,所以果断使用and

2016-06-01 18:24:30 499

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

tplink 823n无线网卡驱动

2017-03-13

android Textview 实现html 图片显示

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

2015-07-24

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.

2015-06-19

mysql 驱动

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

2015-05-15

zxing jar 包

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

2015-05-15

volley jar包 1.0.15

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

2015-05-15

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除