admin
2021-05-17 06a80d5c4b3a971cdc1ca3d91717ec3f6e03a443
app/src/main/java/com/tejia/lijin/app/ui/recommend/RecommendCategoryAdapter.java
@@ -79,7 +79,7 @@
        } else if (viewType == TYPE_HEADER) {
            return new ViewHolder(VIEW_HEADER);
        } else {
            View view = LayoutInflater.from(mContext).inflate(R.layout.item_recomend_category_goods, parent, false);
            View view = LayoutInflater.from(mContext).inflate(R.layout.item_goods, parent, false);
            ViewHolder holder = new ViewHolder(view);
            return holder;
        }
@@ -139,9 +139,10 @@
                public void onClick(View v) {
                    if (!StringUtils.isEmpty(type))
                        CategoryCustomEvent.classGoods(mContext, type);
                    Intent intent = GoodsDetailJumpUtil.getGoodsDetailIntent(mContext, info.getGoodsType());
                    Intent intent= new Intent(mContext, GoodsDetailActivity.class);
                    intent.putExtra("goodsId", info.getGoodsId());
                    intent.putExtra("goodsType", info.getGoodsType());
                    intent.putExtra("title", info.getTitle());
                    intent.putExtra("id", info.getGoodsId());
                    intent.putExtra("from", from);
                    mContext.startActivity(intent);
                }