fixed Bundle casting bug incurred during related videosdisplay

This commit is contained in:
Adam Howard 2015-11-19 14:40:35 +00:00
parent 23e0196fcc
commit 2c11bd1889
3 changed files with 13 additions and 3 deletions

View file

@ -2,6 +2,8 @@ package org.schabi.newpipe;
import android.graphics.Bitmap;
import java.util.List;
/**
* Created by Christian Schabesberger on 26.08.15.
*
@ -41,7 +43,7 @@ public class VideoInfo extends AbstractVideoInfo {
public int dislike_count = -1;
public String average_rating = "";
public VideoPreviewInfo nextVideo = null;
public VideoPreviewInfo[] relatedVideos = null;
public List<VideoPreviewInfo> relatedVideos = null;
public int startPosition = -1;//in seconds. some metadata is not passed using a VideoInfo object!
public static final int VIDEO_AVAILABLE = 0x00;