1:修改歌单列表每一次获取20条
This commit is contained in:
@@ -53,7 +53,7 @@ public class UserPlaylistActivity extends BaseMvpActivity<SingerVerificationPres
|
||||
if (dataChanged)
|
||||
// 数据已更改,重新加载数据
|
||||
page = 1;
|
||||
MvpPre.getSong(SpUtil.getUserId() + "", "", page + "", "10");
|
||||
MvpPre.getSong(SpUtil.getUserId() + "", "", page + "", "20");
|
||||
}
|
||||
});
|
||||
customInputDialog.show();
|
||||
@@ -80,7 +80,7 @@ public class UserPlaylistActivity extends BaseMvpActivity<SingerVerificationPres
|
||||
if (dataChanged)
|
||||
// 数据已更改,重新加载数据
|
||||
page = 1;
|
||||
MvpPre.getSong(SpUtil.getUserId() + "", "", page + "", "10");
|
||||
MvpPre.getSong(SpUtil.getUserId() + "", "", page + "", "20");
|
||||
}
|
||||
});
|
||||
customInputDialog.show();
|
||||
@@ -102,14 +102,14 @@ public class UserPlaylistActivity extends BaseMvpActivity<SingerVerificationPres
|
||||
@Override
|
||||
public void onLoadMore(@NonNull RefreshLayout refreshLayout) {
|
||||
page++;
|
||||
MvpPre.getSong(SpUtil.getUserId() + "", "", page + "", "10");
|
||||
MvpPre.getSong(SpUtil.getUserId() + "", "", page + "", "20");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRefresh(@NonNull RefreshLayout refreshLayout) {
|
||||
// EventBus.getDefault().post(new BannerRefreshEvent());
|
||||
page = 1;
|
||||
MvpPre.getSong(SpUtil.getUserId() + "", "", page + "", "10");
|
||||
MvpPre.getSong(SpUtil.getUserId() + "", "", page + "", "20");
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -123,7 +123,7 @@ public class UserPlaylistActivity extends BaseMvpActivity<SingerVerificationPres
|
||||
protected void onResume() {
|
||||
super.onResume();
|
||||
page = 1;
|
||||
MvpPre.getSong(SpUtil.getUserId() + "", "", page + "", "10");
|
||||
MvpPre.getSong(SpUtil.getUserId() + "", "", page + "", "20");
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -178,6 +178,6 @@ public class UserPlaylistActivity extends BaseMvpActivity<SingerVerificationPres
|
||||
@Override
|
||||
public void deleteSong() {
|
||||
page = 1;
|
||||
MvpPre.getSong(SpUtil.getUserId() + "", "", page + "", "10");
|
||||
MvpPre.getSong(SpUtil.getUserId() + "", "", page + "", "20");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user