Compare commits

...

2 Commits

Author SHA1 Message Date
ZhanGSKen
9e9402f84e <contacts>APK 15.3.12 release Publish. 2025-07-27 15:39:49 +08:00
ZhanGSKen
ec18330022 窗口回显时刷新到最新数据。 2025-07-27 15:38:16 +08:00
4 changed files with 23 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Thu Jul 17 09:57:24 HKT 2025 #Sun Jul 27 15:39:49 HKT 2025
stageCount=12 stageCount=13
libraryProject= libraryProject=
baseVersion=15.3 baseVersion=15.3
publishVersion=15.3.11 publishVersion=15.3.12
buildCount=0 buildCount=0
baseBetaVersion=15.3.12 baseBetaVersion=15.3.13

View File

@@ -41,6 +41,10 @@ public class CallLogAdapter extends RecyclerView.Adapter<CallLogAdapter.CallLogV
this.callLogList = callLogList; this.callLogList = callLogList;
} }
public void relaodContacts() {
this.mContactUtils.relaodContacts();
}
@NonNull @NonNull
@Override @Override
public CallLogViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { public CallLogViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {

View File

@@ -161,4 +161,12 @@ public class CallLogFragment extends Fragment {
_CallLogFragment.triggerUpdate(); _CallLogFragment.triggerUpdate();
} }
} }
@Override
public void onResume() {
super.onResume();
//ToastUtils.show("onResume");
callLogAdapter.relaodContacts();
readCallLog(); // 窗口回显时更新通话记录
}
} }

View File

@@ -163,5 +163,12 @@ public class ContactsFragment extends Fragment {
} }
contactAdapter.notifyDataSetChanged(); contactAdapter.notifyDataSetChanged();
} }
@Override
public void onResume() {
super.onResume();
//ToastUtils.show("onResume");
readContacts(); // 窗口回显时更新联系人列表
}
} }