|
|
@@ -181,9 +181,9 @@ public class GoodsFragment extends BaseMVPFragment implements IGoodsView, ITopAc
|
|
|
|
|
|
if (mCurrentPage == PAGE_START) {
|
|
|
mGoodsList.clear();
|
|
|
+ mGoodsList.addAll(goodsList);
|
|
|
// 本地写死的数据
|
|
|
mGoodsList.addAll(DataTool.getGoodsList());
|
|
|
- mGoodsList.addAll(goodsList);
|
|
|
mAdapter.notifyDataSetChanged();
|
|
|
// 如果是下拉刷新获取的第0页数据,item不要自动滚动一段距离
|
|
|
// 或者用这个mLayoutManager.scrollToPositionWithOffset(0, 0);
|