@OnClick(R.id.shuffle_container) public void onClick(View v) { MusicService.setPlayModel(Constants.PLAY_SHUFFLE); Intent intent = new Intent(Constants.CTL_ACTION); intent.putExtra("Control", Constants.NEXT); // 设置正在播放列表 ArrayList<Integer> ids = new ArrayList<>(); for (MP3Item info : mInfoList) ids.add(info.getId()); Global.setPlayingList(ids); sendBroadcast(intent); }