1
0
Fork 0
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:
Christian Schabesberger 2015-09-11 09:50:30 +02:00
parent fde0b2ae7f
commit 8dd05d2974
8 changed files with 32 additions and 6 deletions

View file

@ -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);