From 9acd7120f0943614ceb990af5124e0f907ef8f93 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 30 三月 2021 19:29:27 +0800
Subject: [PATCH] 白色背景修改

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

diff --git a/BuWanVideo/src/com/weikou/beibeivideo/ui/common/FollowActivity.java b/BuWanVideo/src/com/weikou/beibeivideo/ui/common/FollowActivity.java
index 4bedd89..e83a5be 100644
--- a/BuWanVideo/src/com/weikou/beibeivideo/ui/common/FollowActivity.java
+++ b/BuWanVideo/src/com/weikou/beibeivideo/ui/common/FollowActivity.java
@@ -18,7 +18,6 @@
 import com.google.gson.Gson;
 import com.google.gson.GsonBuilder;
 import com.google.gson.reflect.TypeToken;
-import com.lcjian.library.util.RefreshLayout;
 import com.lcjian.library.util.SingleToast;
 import com.lcjian.library.util.common.StringUtils;
 import com.weikou.beibeivideo.BasicTextHttpResponseHandler;
@@ -27,6 +26,8 @@
 import com.weikou.beibeivideo.ui.BaseActivity;
 import com.weikou.beibeivideo.ui.login.LoginActivity;
 import com.weikou.beibeivideo.R;
+import com.weikou.beibeivideo.util.ui.TopStatusSettings;
+import com.weikou.beibeivideo.widget.MySwipeRefreshLayout;
 
 import org.apache.http.Header;
 import org.json.JSONObject;
@@ -41,7 +42,7 @@
 
     ListView lv_follow;
 
-    RefreshLayout rl_refresh;
+    MySwipeRefreshLayout rl_refresh;
 
     TextView tv_middle;
 
@@ -60,11 +61,11 @@
     protected void onCreate(Bundle arg0) {
         super.onCreate(arg0);
         setContentView(R.layout.activity_follow);
-        initStatusBar();
+        TopStatusSettings.setStatusViewAndDeepColor(this);
         ll_no_data = (LinearLayout) findViewById(R.id.ll_no_data);
         lv_follow = (ListView) findViewById(R.id.lv_activity_follow);
         lv_follow.addHeaderView(new View(this));
-        rl_refresh = (RefreshLayout) findViewById(R.id.rl_follow_activity);
+        rl_refresh = findViewById(R.id.rl_follow_activity);
         ll_no_login = (LinearLayout) findViewById(R.id.ll_no_login);
         tv_login = (TextView) findViewById(R.id.tv_follow_login);
         tv_middle = (TextView) findViewById(R.id.tv_top_bar_middle);
@@ -101,7 +102,7 @@
                     getAttentionList(uid, loginUid);
                 }
             });
-            rl_refresh.setOnLoadListener(new RefreshLayout.OnLoadListener() {
+            rl_refresh.setOnLoadListener(new MySwipeRefreshLayout.OnLoadListener() {
                 @Override
                 public void onLoad() {
                     cPage++;

--
Gitblit v1.8.0