1:修改系统和官方公告展示html出现标签展示的问题
2:添加群全员禁言和单个禁言的功能 3:将道具商城做成原生的 4:添加应用更新的时候,添加版本判断和重新刷新手机文本,预防出现安装缓存(自己测试十几次,未在出现问题,还需要大量测试)
This commit is contained in:
@@ -6,6 +6,7 @@ import android.text.TextUtils;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.alibaba.android.arouter.launcher.ARouter;
|
||||
@@ -83,11 +84,22 @@ public class TUIGroupChatFragment extends TUIBaseChatFragment {
|
||||
titleBar.setOnRightClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent();
|
||||
intent.setAction("com.example.mainmodule.action.GROUP_CHAT_SETTINGS");
|
||||
// 可以传递参数
|
||||
intent.putExtra("groupId", chatInfo.getId());
|
||||
// 如果需要,可以设置Category
|
||||
intent.addCategory("com.example.mainmodule.category.DETAIL");
|
||||
// 确保跳转的Activity是在当前任务栈中,而不是启动一个新的任务栈
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||
startActivity(intent);
|
||||
|
||||
|
||||
// ARouter.getInstance().build("/moduleUtil/WebViewActivity").withString("id", chatInfo.getId()).navigation();
|
||||
|
||||
|
||||
// EventBus.getDefault().post(chatInfo);
|
||||
|
||||
// String id = chatInfo.getId().replace("g", "");
|
||||
ARouter.getInstance().build("/moduleUtil/WebViewActivity").withString("id", chatInfo.getId()).navigation();
|
||||
|
||||
// Map<String, Object> param = new HashMap<>();
|
||||
// if (TUIChatUtils.isTopicGroup(chatInfo.getId())) {
|
||||
// param.put(TUIConstants.TUIChat.Extension.ChatNavigationMoreItem.TOPIC_ID, chatInfo.getId());
|
||||
|
||||
Reference in New Issue
Block a user