1:我的歌单下拉刷新修改
This commit is contained in:
@@ -148,6 +148,9 @@ public class UserPlaylistActivity extends BaseMvpActivity<SingerVerificationPres
|
||||
public void getSong(SongPlaylist s) {
|
||||
if (s != null) {
|
||||
if (!s.getLists().isEmpty()) {
|
||||
if (page == 1) {
|
||||
mSongPlaylistBean.clear();
|
||||
}
|
||||
mSongPlaylistBean.addAll(s.getLists());
|
||||
mAdapter.notifyDataSetChanged();
|
||||
// 更新歌单数量
|
||||
|
||||
Reference in New Issue
Block a user