Update Vod.java

pull/137/head
FongMi 3 years ago
parent f32f3cf0ea
commit d70ce000c9
  1. 3
      app/src/main/java/com/fongmi/android/tv/bean/Vod.java

@ -82,8 +82,7 @@ public class Vod {
private Site site;
public static List<Vod> arrayFrom(String str) {
Type listType = new TypeToken<List<Vod>>() {
}.getType();
Type listType = new TypeToken<List<Vod>>() {}.getType();
List<Vod> items = new Gson().fromJson(str, listType);
return items == null ? Collections.emptyList() : items;
}

Loading…
Cancel
Save