|
@@ -124,7 +124,6 @@ public class ChatView extends LinearLayout implements IChatLayout {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
- protected FrameLayout mCustomView;
|
|
|
protected View mRecordingGroup;
|
|
|
protected ImageView mRecordingIcon;
|
|
|
protected TextView mRecordingTips;
|
|
@@ -168,8 +167,6 @@ public class ChatView extends LinearLayout implements IChatLayout {
|
|
|
mRecordingGroup = findViewById(R.id.voice_recording_view);
|
|
|
mRecordingIcon = findViewById(R.id.recording_icon);
|
|
|
mRecordingTips = findViewById(R.id.recording_tips);
|
|
|
- mCustomView = findViewById(R.id.custom_layout);
|
|
|
- mCustomView.setVisibility(GONE);
|
|
|
|
|
|
mJumpMessageLayout = findViewById(R.id.jump_message_layout);
|
|
|
mJumpMessageTextView = findViewById(R.id.jump_message_content);
|
|
@@ -530,10 +527,6 @@ public class ChatView extends LinearLayout implements IChatLayout {
|
|
|
return mMessageRecyclerView;
|
|
|
}
|
|
|
|
|
|
- public FrameLayout getCustomView() {
|
|
|
- return mCustomView;
|
|
|
- }
|
|
|
-
|
|
|
@Override
|
|
|
public ChatInfo getChatInfo() {
|
|
|
return mChatInfo;
|
|
@@ -1162,7 +1155,6 @@ public class ChatView extends LinearLayout implements IChatLayout {
|
|
|
@Override
|
|
|
protected void onDetachedFromWindow() {
|
|
|
super.onDetachedFromWindow();
|
|
|
- mCustomView.removeAllViews();
|
|
|
exitChat();
|
|
|
}
|
|
|
|