Skip to content

Commit

Permalink
支持选择时间线的图片质量
Browse files Browse the repository at this point in the history
  • Loading branch information
郭文明 committed Sep 6, 2016
1 parent 7570efd commit fc896d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ImageAdapter extends RecyclerView.Adapter<ImageAdapter.ViewHolder>
* 用于加载微博列表图片的配置,进行安全压缩,尽可能的展示图片细节
*/
private DisplayImageOptions options = new DisplayImageOptions.Builder()
.imageScaleType(ImageScaleType.EXACTLY)
.imageScaleType(ImageScaleType.IN_SAMPLE_POWER_OF_2)
.bitmapConfig(Bitmap.Config.RGB_565)
.cacheInMemory(true)
.cacheOnDisk(true)
Expand Down

0 comments on commit fc896d4

Please sign in to comment.