if (isMusic != 0) { //只把音乐添加到集合当中
mp3Info.setId(id);
mp3Info.setTitle(title);
mp3Info.setArtist(artist);
mp3Info.setDuration(duration);
mp3Info.setSize(size);
mp3Info.setUrl(url);
mp3Infos.add(mp3Info);
}
}
return mp3Infos;
}
/**
-
填充列表
-
@param mp3Infos
*/
public void setListAdpter(List mp3Infos) {
List<HashMap<String, String>> mp3list = new ArrayList<HashMap<S
《Android学习笔记总结+最新移动架构视频+大厂安卓面试真题+项目实战源码讲义》
tring, String>>();
for (Iterator iterator = mp3In