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