|
@@ -305,6 +305,7 @@ public class LiveRoomActivity extends BaseMVPActivity<ActivityLiveroomLayoutBind
|
|
|
viewBinding.tvLiveCourse.setOnClickListener(this);
|
|
|
viewBinding.tvVideoCourse.setOnClickListener(this);
|
|
|
viewBinding.tvMusicSheet.setOnClickListener(this);
|
|
|
+ viewBinding.ivAvatar.setOnClickListener(this);
|
|
|
|
|
|
mRecyclerMsg.addOnScrollListener(new RecyclerView.OnScrollListener() {
|
|
|
@Override
|
|
@@ -501,6 +502,17 @@ public class LiveRoomActivity extends BaseMVPActivity<ActivityLiveroomLayoutBind
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ if (id == R.id.iv_avatar) {
|
|
|
+ //跳转老师主页
|
|
|
+ if (mRoomInfoBean != null) {
|
|
|
+ ARouter.getInstance()
|
|
|
+ .build(RouterPath.WebCenter.ACTIVITY_HTML)
|
|
|
+ .withString(WebConstants.WEB_URL, WebConstants.STUDENT_TEACHER_HOME + mRoomInfoBean.speakerId)
|
|
|
+ .navigation();
|
|
|
+ }
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
if (id == R.id.tv_appointment_course || id == R.id.tv_live_course
|
|
|
|| id == R.id.tv_video_course || id == R.id.tv_music_sheet) {
|
|
|
//约课 直播课 视频课 曲谱
|