@@ -80,6 +80,11 @@ public class GoodsFragment extends BaseMVPFragment implements IGoodsView, ITopAc
mAdapter.notifyDataSetChanged();
}
+ // 请求成功且有更多数据时,页数自增
+ if (goodsList != null && goodsList.size() > 0) {
+ mCurrentPage++;
+ }
+
if (mGoodsList.size() == 0) {
iv_empty.setVisibility(View.VISIBLE);
} else {