-Modified play queue action buttons on playlist and channel fragments.
-Added info item menu with custom title banner on long click. -Enabled starting playlists and channels from middle. -Enabled caching for play queue item thumbnails. -Modified play queue to revert to first item on deleting last item.
This commit is contained in:
parent
cf147aa161
commit
ce36f3ae3b
16 changed files with 464 additions and 125 deletions
|
|
@ -444,20 +444,22 @@ public abstract class ServicePlayerActivity extends AppCompatActivity
|
|||
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
if (player == null) return;
|
||||
|
||||
if (view.getId() == repeatButton.getId()) {
|
||||
if (player != null) player.onRepeatClicked();
|
||||
player.onRepeatClicked();
|
||||
|
||||
} else if (view.getId() == backwardButton.getId()) {
|
||||
if (player != null) player.onPlayPrevious();
|
||||
player.onPlayPrevious();
|
||||
|
||||
} else if (view.getId() == playPauseButton.getId()) {
|
||||
if (player != null) player.onVideoPlayPause();
|
||||
player.onVideoPlayPause();
|
||||
|
||||
} else if (view.getId() == forwardButton.getId()) {
|
||||
if (player != null) player.onPlayNext();
|
||||
player.onPlayNext();
|
||||
|
||||
} else if (view.getId() == shuffleButton.getId()) {
|
||||
if (player != null) player.onShuffleClicked();
|
||||
player.onShuffleClicked();
|
||||
|
||||
} else if (view.getId() == playbackSpeedButton.getId()) {
|
||||
playbackSpeedPopupMenu.show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue