仿微信朋友圈选择图片

移动开发
该版本实现了如下功能: 1、从相册选择图片,对图片进行了缓存处理,选择图片的时候,图片不会出现OOM 2、加入了拍照功能 3、加入了图库功能,可以让你的图片滚动起来了,如果你想使用该功能作为删除的话,只需要传递过去isdel = true 即可使用删除模式。

源码简介:该版本实现了如下功能: 1、从相册选择图片,对图片进行了缓存处理,选择图片的时候,图片不会出现OOM 2、加入了拍照功能 3、加入了图库功能,可以让你的图片滚动起来了,如果你想使用该功能作为删除的话,只需要传递过去isdel = true 即可使用删除模式。

源码效果:

源码片段:

  1. package org.fireking.app.imagelib.entity; 
  2.   
  3. import java.util.ArrayList; 
  4. import java.util.List; 
  5. import java.util.Set; 
  6.   
  7. public class AlbumBean { 
  8.   
  9.     public String folderName; 
  10.   
  11.     public int count; 
  12.   
  13.     public List<imagebean> sets = new ArrayList<imagebean>(); 
  14.   
  15.     public String thumbnail; 
  16.   
  17.     public AlbumBean() { 
  18.         super(); 
  19.     } 
  20.   
  21.     public AlbumBean(String folderName, int count, List<imagebean> sets, 
  22.             String thumbnail) { 
  23.         super(); 
  24.         this.folderName = folderName; 
  25.         this.count = count; 
  26.         this.sets = sets; 
  27.         this.thumbnail = thumbnail; 
  28.     } 
  29.   
  30.     @Override 
  31.     public String toString() { 
  32.         return "AlbumBean [folderName=" + folderName + ", count=" + count 
  33.                 + ", sets=" + sets + ", thumbnail=" + thumbnail + "]"
  34.     } 
  35.   
  36. </imagebean></imagebean></imagebean> 

下载地址:http://down.51cto.com/data/2089521

责任编辑:倪明 来源: devstore
相关推荐

2021-11-19 09:48:33

鸿蒙HarmonyOS应用

2021-11-23 10:00:55

鸿蒙HarmonyOS应用

2021-11-04 09:55:50

鸿蒙HarmonyOS应用

2013-11-06 14:25:30

微信朋友圈

2021-05-31 08:23:47

应用开发前端

2022-01-12 21:00:08

微信安卓腾讯

2013-04-12 03:40:53

微信开放平台朋友圈

2023-03-09 07:29:28

微信朋友圈架构

2013-12-06 16:39:56

2020-03-13 13:19:28

微信广告隐私

2021-06-23 10:24:06

微信macOS移动应用

2019-12-24 13:00:03

微信朋友圈移动应用

2021-08-14 23:23:49

ios微信朋友圈

2022-01-27 07:40:27

iOS微信朋友圈

2021-03-11 22:23:46

微信Mac版朋友圈

2020-11-05 14:26:43

微信朋友圏7.0.18

2021-03-31 06:05:08

微信朋友圈腾讯

2015-09-22 10:43:37

微信雷达

2021-03-12 06:01:35

微信朋友圈腾讯

2015-02-13 10:18:20

微信
点赞
收藏

51CTO技术栈公众号