From dc65e2bdd3f8e704659699a6ea7d537c4256b23d Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Tue, 2 Apr 2024 17:54:01 +0800 Subject: [PATCH] =?UTF-8?q?fix=20[=E8=B0=83=E6=95=B4=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E4=BF=A1=E6=81=AFUI]=20fix=20[=E7=AB=99=E5=86=85=E5=88=86?= =?UTF-8?q?=E4=BA=AB=20=E5=88=97=E8=A1=A8=E4=B8=8B=E6=A0=87=E9=97=AE?= =?UTF-8?q?=E9=A2=98]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../share/adapters/InternalShareAdapter.java | 4 ++ .../share/ui/AppInternalShareDialog.java | 2 +- .../com/yunbao/common/http/PDLiveApi.java | 2 +- .../bg_msg_address_book_user_btn_fan_cuia.xml | 9 ++++ common/src/main/res/values/colors.xml | 1 + .../dialog_bg_chat_status_config_unselect.xml | 2 +- .../dialog_bg_msg_hi_config_unselect_cuia.xml | 9 ++++ .../main/res/layout/activity_user_info.xml | 34 +++++++----- main/src/main/res/layout/view_homemain.xml | 8 +-- .../view_message_hi_config_item_edit_cuia.xml | 44 +++++++++++++++ .../layout/view_user_info_birthday_cuia.xml | 54 +++++++++++++++++++ 11 files changed, 148 insertions(+), 21 deletions(-) create mode 100644 common/src/main/res/drawable/bg_msg_address_book_user_btn_fan_cuia.xml create mode 100644 main/src/main/res/drawable/dialog_bg_msg_hi_config_unselect_cuia.xml create mode 100644 main/src/main/res/layout/view_message_hi_config_item_edit_cuia.xml create mode 100644 main/src/main/res/layout/view_user_info_birthday_cuia.xml diff --git a/Share/src/main/java/com/yunbao/share/adapters/InternalShareAdapter.java b/Share/src/main/java/com/yunbao/share/adapters/InternalShareAdapter.java index a4de042..58f6a2d 100644 --- a/Share/src/main/java/com/yunbao/share/adapters/InternalShareAdapter.java +++ b/Share/src/main/java/com/yunbao/share/adapters/InternalShareAdapter.java @@ -79,6 +79,10 @@ public class InternalShareAdapter extends RecyclerView.Adapter getListData() { + return listData; + } + public class EmptyViewHolder extends ViewHolder { public EmptyViewHolder(@NonNull View itemView) { diff --git a/Share/src/main/java/com/yunbao/share/ui/AppInternalShareDialog.java b/Share/src/main/java/com/yunbao/share/ui/AppInternalShareDialog.java index ce2af7c..abb2963 100644 --- a/Share/src/main/java/com/yunbao/share/ui/AppInternalShareDialog.java +++ b/Share/src/main/java/com/yunbao/share/ui/AppInternalShareDialog.java @@ -73,7 +73,7 @@ public class AppInternalShareDialog extends AbsDialogFullScreenPopupWindow { return; } if (onItemClickListener != null) { - onItemClickListener.onItemClick(listData.get(adapter.getSelectPosition()).mCore.getTargetId(), adapter.getSelectPosition()); + onItemClickListener.onItemClick(adapter.getListData().get(adapter.getSelectPosition()).mCore.getTargetId(), adapter.getSelectPosition()); } dismiss(); }); diff --git a/common/src/main/java/com/yunbao/common/http/PDLiveApi.java b/common/src/main/java/com/yunbao/common/http/PDLiveApi.java index 8361570..de489d0 100644 --- a/common/src/main/java/com/yunbao/common/http/PDLiveApi.java +++ b/common/src/main/java/com/yunbao/common/http/PDLiveApi.java @@ -1227,7 +1227,7 @@ public interface PDLiveApi { ); @Multipart - @POST("/api/public/?service=Friendappinfos.updateAvatar") + @POST("/api/public/?service=Pdlinfos.updateAvatar") Observable> updateFile(@Part MultipartBody.Part file, @Query("uid") String uid, @Query("token") String token); @Multipart diff --git a/common/src/main/res/drawable/bg_msg_address_book_user_btn_fan_cuia.xml b/common/src/main/res/drawable/bg_msg_address_book_user_btn_fan_cuia.xml new file mode 100644 index 0000000..6b60d77 --- /dev/null +++ b/common/src/main/res/drawable/bg_msg_address_book_user_btn_fan_cuia.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/common/src/main/res/values/colors.xml b/common/src/main/res/values/colors.xml index d7a566e..df0ac59 100644 --- a/common/src/main/res/values/colors.xml +++ b/common/src/main/res/values/colors.xml @@ -3,6 +3,7 @@ @color/global @color/global @color/global + #333333 #FF0000 #ffffff #303F9F diff --git a/main/src/main/res/drawable/dialog_bg_chat_status_config_unselect.xml b/main/src/main/res/drawable/dialog_bg_chat_status_config_unselect.xml index 2d081c6..a78348e 100644 --- a/main/src/main/res/drawable/dialog_bg_chat_status_config_unselect.xml +++ b/main/src/main/res/drawable/dialog_bg_chat_status_config_unselect.xml @@ -2,7 +2,7 @@ - + diff --git a/main/src/main/res/drawable/dialog_bg_msg_hi_config_unselect_cuia.xml b/main/src/main/res/drawable/dialog_bg_msg_hi_config_unselect_cuia.xml new file mode 100644 index 0000000..0fd16d8 --- /dev/null +++ b/main/src/main/res/drawable/dialog_bg_msg_hi_config_unselect_cuia.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/main/src/main/res/layout/activity_user_info.xml b/main/src/main/res/layout/activity_user_info.xml index 80ad5e8..14966bb 100644 --- a/main/src/main/res/layout/activity_user_info.xml +++ b/main/src/main/res/layout/activity_user_info.xml @@ -15,6 +15,7 @@ + @@ -128,21 +132,23 @@ + android:layout_width="0dp" + android:layout_height="82dp" + android:layout_marginEnd="17dp" + android:layout_weight="1" /> + android:layout_width="0dp" + android:layout_height="82dp" + android:layout_weight="1" /> +