Comments (4)
图片选择器里不能删除图片,只能选中和取消选中。如果你想从手机删除一张图片,只能到手机的相册删除。
from imageselector.
能不能做个类似与微信发朋友圈那种,imageadapter里 做个点击列表图片的预览和删除,直接作用adapter里的数据,这样的功能。
from imageselector.
图片选择器实现的是图片选择的功能,比如发朋友圈时,从相册选择图片的这一步功能。如果在选择器中做图片删除的操作,就会把手机里的图片删除掉的。
你想实现朋友圈发布页的功能,其实也很简单,你从图片选择器中获取到选择的图片,使用RecyclerView列表显示,点击预览就跳到新的页面,把图片带过去显示。点击删除,就从列表数据中移除图片,刷新列表就可以了。
这种功能是业务相关的,不是基础功能,所以我不会库里提供这样的功能。
from imageselector.
好的,谢谢!
from imageselector.
Related Issues (20)
- 视频选择建议 HOT 1
- 有考虑加上视屏文件的选取预览功能吗
- 希望尽快适配下 Android 11
- 不能取消预览 HOT 2
- 9.0拍照时报空指针
- android11 miui12.1.1稳定版 拍照崩溃 参数传递异常 HOT 3
- java.lang.IllegalArgumentException: Invalid token limit HOT 10
- Attempt to read from field 'int com.donkingliang.imageselector.entry.RequestConfig.f' on a null object reference HOT 1
- 点击预览空指针 HOT 2
- 大图OOM HOT 1
- Android 10以上拍照会崩溃
- vivo X20Plus A 等部分机型,保存图片到相册后,选择器不显示该图片
- 取消上传的动作能监听吗 HOT 2
- ImageSelectorActivity空指针崩溃
- 华为手机鸿蒙3.0系统点击拍照,直接白屏,日志没有报错信息 HOT 2
- Android 9 targetSdkVersion = 32拍照不能返回图片,必须杀死应用后重启,才可以?
- 权限获取问题 HOT 6
- bug
- 适配android11存储权限
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imageselector.