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) {
Type listType = new TypeToken<List<Live>>() {
}.getType();
Type listType = new TypeToken<List<Live>>() {}.getType();
List<Live> items = App.gson().fromJson(str, listType);
return items == null ? Collections.emptyList() : items;
}

Loading…
Cancel
Save