問題代碼
? ?View inflate = LayoutInflater.from(context).inflate(R.layout.home_mall_item, null);
? ??????????????????????????????????

問題
修改后的代碼
????View?inflate = LayoutInflater.from(context).inflate(R.layout.home_mall_item, parent,false);
? ??????????

已解決
? ??????