From de255fa314823290a833c10d30424e42e91f56f0 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 13 七月 2023 16:30:36 +0800
Subject: [PATCH] 安卓后台进入前台问题

---
 HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
index 564dd00..fbadb7f 100644
--- a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
@@ -269,9 +269,15 @@
         {
             Application.RunOnMainThread(() =>
             {
-                if (bodyView != null)
+                try
                 {
-                    bodyView.CheckLinkStatus();
+                    if (bodyView != null)
+                    {
+                        bodyView.CheckLinkStatus();
+                    }
+                }catch(Exception ex)
+                {
+                    MainPage.Log($"LoadEvent_CheckLinkStatus : {ex.Message}");
                 }
             });
         }

--
Gitblit v1.8.0