Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

图片是否选中的判断逻辑修改 #182

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

njleonzhang
Copy link

  1. 通过图片path来判断图片的选中;
    原来是通过imageItem对的引用判断是否相等的,这样对于拍照得到的图片,无法在修改图片选择的时候显示为选中状态。改成通过图片path来判断,解决这个问题,但是比较性能上会有一定损失。

  2. 为ImageItem添加一个拷贝构造方法
    复杂场景下,我们可能需要继承ImageItem,此时再初始化子类的时候ImageItem需要一个拷贝构造函数。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant