mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2025-10-06 03:50:22 +02:00
implemented autoplay feature
This commit is contained in:
parent
fde0b2ae7f
commit
8dd05d2974
8 changed files with 32 additions and 6 deletions
|
@ -70,6 +70,7 @@ public class ActionBarHandler {
|
|||
}
|
||||
|
||||
public void setStreams(VideoInfo.Stream[] streams) {
|
||||
// // TODO: 11.09.15 add auto stream option
|
||||
this.streams = streams;
|
||||
selectedStream = 0;
|
||||
String[] itemArray = new String[streams.length];
|
||||
|
@ -89,7 +90,7 @@ public class ActionBarHandler {
|
|||
selectedStream = i;
|
||||
}
|
||||
|
||||
public boolean setupMenu(Menu menu, MenuInflater inflater, Context constext) {
|
||||
public boolean setupMenu(Menu menu, MenuInflater inflater, Context context) {
|
||||
this.context = context;
|
||||
// CAUTION set item properties programmatically otherwise it would not be accepted by
|
||||
// appcompat itemsinflater.inflate(R.menu.videoitem_detail, menu);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue