Giter Club home page Giter Club logo

Comments (4)

donkingliang avatar donkingliang commented on August 12, 2024

图片选择器里不能删除图片,只能选中和取消选中。如果你想从手机删除一张图片,只能到手机的相册删除。

from imageselector.

yaoxin521123 avatar yaoxin521123 commented on August 12, 2024

能不能做个类似与微信发朋友圈那种,imageadapter里 做个点击列表图片的预览和删除,直接作用adapter里的数据,这样的功能。

from imageselector.

donkingliang avatar donkingliang commented on August 12, 2024

图片选择器实现的是图片选择的功能,比如发朋友圈时,从相册选择图片的这一步功能。如果在选择器中做图片删除的操作,就会把手机里的图片删除掉的。

你想实现朋友圈发布页的功能,其实也很简单,你从图片选择器中获取到选择的图片,使用RecyclerView列表显示,点击预览就跳到新的页面,把图片带过去显示。点击删除,就从列表数据中移除图片,刷新列表就可以了。

这种功能是业务相关的,不是基础功能,所以我不会库里提供这样的功能。

from imageselector.

yaoxin521123 avatar yaoxin521123 commented on August 12, 2024

好的,谢谢!

from imageselector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.