修改图片预览页面点击查看帖子异常
This commit is contained in:
@ -162,6 +162,9 @@ class ImageContainerView : LinearLayout {
|
||||
} else {
|
||||
if (mAnswerEntity!!.getPassVideos().isNullOrEmpty()) binding.root.tag as Int else (binding.root.tag as Int) - 1
|
||||
}
|
||||
if (mAnswerEntity?.communityId.isNullOrEmpty()) {
|
||||
mAnswerEntity?.communityId = mAnswerEntity?.bbs?.id
|
||||
}
|
||||
val intent = ImageViewerActivity.getIntent(context, mAnswerEntity!!.images as ArrayList<String>, position, binding.root,
|
||||
if (mAnswerEntity?.type == "community_article") mAnswerEntity else null, mEntrance)
|
||||
context.startActivity(intent)
|
||||
|
||||
Reference in New Issue
Block a user