Merge pull request #3456 from Stypox/enqueue-channel
Enqueue on long click on background/popup in channel
This commit is contained in:
commit
f066da23c5
|
@ -465,6 +465,16 @@ public class ChannelFragment extends BaseListInfoFragment<ChannelInfo> {
|
||||||
.playOnPopupPlayer(activity, getPlayQueue(), false));
|
.playOnPopupPlayer(activity, getPlayQueue(), false));
|
||||||
headerBackgroundButton.setOnClickListener(view -> NavigationHelper
|
headerBackgroundButton.setOnClickListener(view -> NavigationHelper
|
||||||
.playOnBackgroundPlayer(activity, getPlayQueue(), false));
|
.playOnBackgroundPlayer(activity, getPlayQueue(), false));
|
||||||
|
|
||||||
|
headerPopupButton.setOnLongClickListener(view -> {
|
||||||
|
NavigationHelper.enqueueOnPopupPlayer(activity, getPlayQueue(), true);
|
||||||
|
return true;
|
||||||
|
});
|
||||||
|
|
||||||
|
headerBackgroundButton.setOnLongClickListener(view -> {
|
||||||
|
NavigationHelper.enqueueOnBackgroundPlayer(activity, getPlayQueue(), true);
|
||||||
|
return true;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private void showContentNotSupported() {
|
private void showContentNotSupported() {
|
||||||
|
|
Loading…
Reference in New Issue