Rewrite of shuffle function
- shuffle function should work now
This commit is contained in:
parent
4a3d8aee5b
commit
ecbf5fc292
8 changed files with 134 additions and 152 deletions
|
|
@ -236,8 +236,7 @@ public class AlbumDetailActivity extends AbsFabActivity implements OnMusicRemote
|
|||
@Override
|
||||
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
|
||||
if (position > 0) {
|
||||
app.getMusicPlayerRemote().setPlayingQueue(songs);
|
||||
app.getMusicPlayerRemote().playSongAt(position - 1);
|
||||
app.getMusicPlayerRemote().openQueue(songs, position - 1, true);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -29,8 +29,7 @@ public class ViewPagerTabArtistSongListFragment extends AbsViewPagerTabArtistLis
|
|||
setOnItemClickListener(new AdapterView.OnItemClickListener() {
|
||||
@Override
|
||||
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
|
||||
app.getMusicPlayerRemote().setPlayingQueue(songs);
|
||||
app.getMusicPlayerRemote().playSongAt(position);
|
||||
app.getMusicPlayerRemote().openQueue(songs, position, true);
|
||||
}
|
||||
});
|
||||
return adapter;
|
||||
|
|
|
|||
|
|
@ -82,8 +82,7 @@ public class SongViewFragment extends Fragment implements KabSearchAbleFragment
|
|||
absListView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
|
||||
@Override
|
||||
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
|
||||
app.getMusicPlayerRemote().setPlayingQueue(songs);
|
||||
app.getMusicPlayerRemote().playSongAt(position);
|
||||
app.getMusicPlayerRemote().openQueue(songs, position, true);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue