|
@@ -14,6 +14,7 @@ import com.tencent.qcloud.tuicore.TUICore;
|
|
|
import com.tencent.qcloud.tuicore.util.ToastUtil;
|
|
|
import com.tencent.qcloud.tuikit.timcommon.bean.MessageRepliesBean;
|
|
|
import com.tencent.qcloud.tuikit.timcommon.bean.TUIMessageBean;
|
|
|
+import com.tencent.qcloud.tuikit.timcommon.component.MessageProperties;
|
|
|
import com.tencent.qcloud.tuikit.timcommon.component.TitleBarLayout;
|
|
|
import com.tencent.qcloud.tuikit.timcommon.component.activities.BaseLightActivity;
|
|
|
import com.tencent.qcloud.tuikit.timcommon.component.interfaces.ITitleBarLayout;
|
|
@@ -102,6 +103,10 @@ public class MessageReplyDetailActivity extends BaseLightActivity implements Inp
|
|
|
messageRecyclerView.setOnItemClickListener(new OnItemClickListener() {
|
|
|
@Override
|
|
|
public void onMessageClick(View view, int position, TUIMessageBean messageBean) {
|
|
|
+ MessageProperties.OnEventListener eventListener = MessageProperties.getInstance().getEventListener();
|
|
|
+ if (eventListener != null && eventListener.onMessageClick(messageBean)) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (messageBean instanceof MergeMessageBean) {
|
|
|
Bundle bundle = new Bundle();
|
|
|
bundle.putSerializable(TUIChatConstants.FORWARD_MERGE_MESSAGE_KEY, messageBean);
|