Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
aikrq authored Dec 29, 2024
2 parents 1abf0dd + 74d638c commit cc05d45
Show file tree
Hide file tree
Showing 25 changed files with 318 additions and 352 deletions.
6 changes: 5 additions & 1 deletion app/src/main/java/a/a/a/Zt.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ public void setSelectingMode(boolean state) {
actBinding.layoutBtnGroup.animate().translationY(isSelecting ? 0F : 400F).setDuration(200L).start();
actBinding.layoutBtnGroup.setVisibility(isSelecting ? View.VISIBLE : View.GONE);

if (!isSelecting) {
projectResourceBeans.forEach(bean -> bean.isSelected = false);
}

adapter.notifyDataSetChanged();
}

Expand All @@ -127,7 +131,7 @@ public ArrayList<ProjectResourceBean> getProjectResourceBeans() {
}

public void processResources() {
if (projectResourceBeans == null || projectResourceBeans.isEmpty()) {
if (projectResourceBeans == null) {
return;
}

Expand Down
Loading

0 comments on commit cc05d45

Please sign in to comment.