Commit c93e73d8 by 宁斌

1、解決食品組加載重複問題

parent 3586c6d6
...@@ -433,7 +433,7 @@ public class MealStandActivity extends BaseFragmentActivity<MealStandPresenter> ...@@ -433,7 +433,7 @@ public class MealStandActivity extends BaseFragmentActivity<MealStandPresenter>
// 使用原生的 Adapter 即可 // 使用原生的 Adapter 即可
// mFoodGroupAdapter = new FoodGroupAdapter(this, foodGroupList, 1); // mFoodGroupAdapter = new FoodGroupAdapter(this, foodGroupList, 1);
mFoodGroupAdapter.setFoodGroupList(mFoodGroupList); // mFoodGroupAdapter.setFoodGroupList(mFoodGroupList);
rv_food_group.setAdapter(mFoodGroupAdapter); rv_food_group.setAdapter(mFoodGroupAdapter);
mFoodGroupAdapter.setOnItemClickListener(new FoodGroupAdapter.OnItemClickListener() { mFoodGroupAdapter.setOnItemClickListener(new FoodGroupAdapter.OnItemClickListener() {
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment