修复:

修复测试问题
This commit is contained in:
18401019693 2022-08-26 18:31:40 +08:00
parent 2ae166a426
commit 9cd44c592c

View File

@ -20,7 +20,11 @@ public class VerticalPagerAdapter extends androidx.viewpager.widget.PagerAdapter
private Activity mContext; private Activity mContext;
private int mPosition; private int mPosition;
// public void upDataBg(List<AnchorRecommendItemModel> models) {
// liveBeans.clear();
// liveBeans.addAll(models);
// notifyDataSetChanged();
// }
public VerticalPagerAdapter(List<AnchorRecommendItemModel> liveBeans, Activity mContext) { public VerticalPagerAdapter(List<AnchorRecommendItemModel> liveBeans, Activity mContext) {
this.liveBeans = liveBeans; this.liveBeans = liveBeans;