made all arrays into lists
This commit is contained in:
parent
61471fdd3c
commit
1bf046a8ba
7 changed files with 40 additions and 31 deletions
|
|
@ -302,11 +302,8 @@ public class VideoItemDetailFragment extends Fragment {
|
|||
streamsToUse.add(i);
|
||||
}
|
||||
}
|
||||
VideoInfo.VideoStream[] streamList = new VideoInfo.VideoStream[streamsToUse.size()];
|
||||
for (int i = 0; i < streamList.length; i++) {
|
||||
streamList[i] = streamsToUse.get(i);
|
||||
}
|
||||
actionBarHandler.setStreams(streamList, info.audioStreams);
|
||||
|
||||
actionBarHandler.setStreams(streamsToUse, info.audioStreams);
|
||||
|
||||
nextVideoButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue