Update MultiImageSelectorFragment.java
When select some pics in floder "all",and then switch to other floder,the selection will not change state right.This fixed it.(在“所有照片”文件夹中选择几张照片,然后切换到其它包含刚才选中的照片的文件夹中,选中状态没有正确显示。)
This commit is contained in:
parent
fdc51aa637
commit
f52572ac40
|
|
@ -299,6 +299,10 @@ public class MultiImageSelectorFragment extends Fragment {
|
|||
if (null != folder) {
|
||||
mImageAdapter.setData(folder.images);
|
||||
mCategoryText.setText(folder.name);
|
||||
// 设定默认选择
|
||||
if (resultList != null && resultList.size() > 0) {
|
||||
mImageAdapter.setDefaultSelected(resultList);
|
||||
}
|
||||
}
|
||||
mImageAdapter.setShowCamera(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue