From fd0097a37e24c771d5ad271135e48e8f52e325e0 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 21 十二月 2021 16:59:55 +0800
Subject: [PATCH] 3.10.9

---
 BuWanVideo/src/com/weikou/beibeivideo/ui/common/FollowActivity.java |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/BuWanVideo/src/com/weikou/beibeivideo/ui/common/FollowActivity.java b/BuWanVideo/src/com/weikou/beibeivideo/ui/common/FollowActivity.java
index 1b645fd..a4b4137 100644
--- a/BuWanVideo/src/com/weikou/beibeivideo/ui/common/FollowActivity.java
+++ b/BuWanVideo/src/com/weikou/beibeivideo/ui/common/FollowActivity.java
@@ -23,6 +23,7 @@
 import com.weikou.beibeivideo.ui.BaseActivity;
 import com.weikou.beibeivideo.ui.login.LoginActivity;
 import com.weikou.beibeivideo.R;
+import com.weikou.beibeivideo.util.JsonUtil;
 import com.weikou.beibeivideo.util.ui.TopStatusSettings;
 import com.weikou.beibeivideo.widget.MySwipeRefreshLayout;
 
@@ -131,12 +132,7 @@
                         return;
                     }
 
-                    Gson gson = new GsonBuilder()
-                            .setPrettyPrinting()
-                            .setFieldNamingPolicy(
-                                    FieldNamingPolicy.UPPER_CAMEL_CASE)
-                            .create();
-                    List<Attention> list = gson.fromJson(jsonObject
+                    List<Attention> list = JsonUtil.videoGson.fromJson(jsonObject
                             .getJSONObject("Data").getJSONArray("data")
                             .toString(), new TypeToken<List<Attention>>() {
                     }.getType());

--
Gitblit v1.8.0