fix [私聊消息-直播中无正在直播标识]

This commit is contained in:
2024-03-23 16:49:47 +08:00
parent d08861a082
commit c20708d633
6 changed files with 152 additions and 24 deletions

View File

@@ -182,7 +182,6 @@ public class PDLiveConversationActivity extends AbsActivity implements View.OnCl
* 数据的设置
*/
private void initData() {
targetId = getIntent().getStringExtra("targetId");
NoviceInstructorModel model = NoviceInstructorManager.get(this).getNoviceInstructor();
//绑定聊天用户id
@@ -219,7 +218,8 @@ public class PDLiveConversationActivity extends AbsActivity implements View.OnCl
private void initView() {
try {
// 添加会话界面
conversationFragment = new PDLiveConversationFragment();
targetId = getIntent().getStringExtra("targetId");
conversationFragment = new PDLiveConversationFragment(targetId);
FragmentManager manager = getSupportFragmentManager();
FragmentTransaction transaction = manager.beginTransaction();
transaction.replace(R.id.container, conversationFragment);