From bec4041b87b2f858b0484e9a5a987a46a3046e18 Mon Sep 17 00:00:00 2001 From: ZhanGSKen Date: Mon, 31 Mar 2025 12:09:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A5=E5=BF=97=E8=A7=86?= =?UTF-8?q?=E5=9B=BE=E5=86=8D=E6=89=93=E5=BC=80=E7=AC=AC=E4=BA=8C=E4=B8=AA?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=90=8E=EF=BC=8C=E7=AC=AC=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=9B=9E=E6=98=BE=E6=97=B6=E5=81=9C=E9=A1=BF?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contacts/build.properties | 4 ++-- .../studio/contacts/fragments/LogFragment.java | 16 ++++++++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/contacts/build.properties b/contacts/build.properties index 4511f9c..d1da48f 100644 --- a/contacts/build.properties +++ b/contacts/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Mon Mar 31 04:04:09 GMT 2025 +#Mon Mar 31 04:07:30 GMT 2025 stageCount=1 libraryProject= baseVersion=15.2 publishVersion=15.2.0 -buildCount=2 +buildCount=4 baseBetaVersion=15.2.1 diff --git a/contacts/src/main/java/cc/winboll/studio/contacts/fragments/LogFragment.java b/contacts/src/main/java/cc/winboll/studio/contacts/fragments/LogFragment.java index e2df22a..656b7d1 100644 --- a/contacts/src/main/java/cc/winboll/studio/contacts/fragments/LogFragment.java +++ b/contacts/src/main/java/cc/winboll/studio/contacts/fragments/LogFragment.java @@ -14,6 +14,7 @@ import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import cc.winboll.studio.contacts.R; import cc.winboll.studio.libappbase.LogView; +import com.hjq.toast.ToastUtils; public class LogFragment extends Fragment { @@ -21,6 +22,8 @@ public class LogFragment extends Fragment { private static final String ARG_PAGE = "ARG_PAGE"; private int mPage; + + LogView mLogView; public static LogFragment newInstance(int page) { Bundle args = new Bundle(); @@ -43,8 +46,17 @@ public class LogFragment extends Fragment { public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { View view = inflater.inflate(R.layout.fragment_log, container, false); - LogView logView = view.findViewById(R.id.logview); - logView.start(); + mLogView = view.findViewById(R.id.logview); + mLogView.start(); return view; } + + @Override + public void onResume() { + super.onResume(); + //ToastUtils.show("onResume"); + mLogView.start(); + } + + }