pull/265/head
FongMi 2 years ago
parent 201d293687
commit 6f71b2ce16
  1. 3
      app/src/main/java/com/fongmi/android/tv/bean/Live.java

@ -73,8 +73,7 @@ public class Live {
} }
public static List<Live> arrayFrom(String str) { public static List<Live> arrayFrom(String str) {
Type listType = new TypeToken<List<Live>>() { Type listType = new TypeToken<List<Live>>() {}.getType();
}.getType();
List<Live> items = App.gson().fromJson(str, listType); List<Live> items = App.gson().fromJson(str, listType);
return items == null ? Collections.emptyList() : items; return items == null ? Collections.emptyList() : items;
} }

Loading…
Cancel
Save