diff --git a/app/src/main/java/com/bonait/bnframework/modules/home/fragment/mode/QDListSectionAdapter.java b/app/src/main/java/com/bonait/bnframework/modules/home/fragment/mode/QDListSectionAdapter.java index 2381289a..efc60ea3 100644 --- a/app/src/main/java/com/bonait/bnframework/modules/home/fragment/mode/QDListSectionAdapter.java +++ b/app/src/main/java/com/bonait/bnframework/modules/home/fragment/mode/QDListSectionAdapter.java @@ -104,6 +104,7 @@ public class QDListSectionAdapter extends QMUIDefaultStickySectionAdapter { sc_image.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { + IsSC=((SectionItem)section.getItemAt(itemIndex)).getIsSC(); //按钮点击 String title = "收藏菜品操作提示!"; String message = "请问客官确定要["+(IsSC?"取消收藏":"收藏")+"]菜品吗?";