Merge remote-tracking branch 'origin/dev_改版主分支-升级融云SDK&AGP8' into dev_改版主分支-升级融云SDK&AGP8

This commit is contained in:
2024-03-29 14:52:03 +08:00
8 changed files with 10 additions and 11 deletions

View File

@@ -60,10 +60,10 @@ public class ConversationPopuwWindow implements View.OnClickListener {
popupView.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED);
int popupWidth = popupView.getMeasuredWidth();
int popupHeight = popupView.getMeasuredHeight();
int popupHeight = popupView.getMeasuredHeight();
popupWindow.showAtLocation(view, Gravity.NO_GRAVITY, (location[0]+view.getWidth()/2)-popupWidth/2,
location[1]-popupHeight);
popupWindow.showAtLocation(view, Gravity.NO_GRAVITY, (location[0] + view.getWidth() / 2) - popupWidth / 2,
location[1] - popupHeight);
}
@Override
@@ -75,7 +75,7 @@ public class ConversationPopuwWindow implements View.OnClickListener {
IMCenter.getInstance().removeConversation(conversationType, userId, new RongIMClient.ResultCallback<Boolean>() {
@Override
public void onSuccess(Boolean aBoolean) {
ToastUtil.show("删除成功");
ToastUtil.show(mContext.getResources().getString(R.string.del_suc));
}
@Override

View File

@@ -439,7 +439,7 @@ public class ConversationIMListManager {
IMCenter.getInstance().removeConversation(Conversation.ConversationType.PRIVATE, userId, new RongIMClient.ResultCallback<Boolean>() {
@Override
public void onSuccess(Boolean aBoolean) {
ToastUtil.show("删除成功");
ToastUtil.show(mContext.getResources().getString(R.string.del_suc));
}
@Override