【光环助手V4.6.0】论坛首页信息流UI展示规则优化(201225-UI测试问题汇总3) https://git.ghzs.com/pm/halo-app-issues/-/issues/1052
This commit is contained in:
@ -203,7 +203,8 @@ class ImageContainerView : LinearLayout {
|
||||
binding.labelIcon.setImageDrawable(ContextCompat.getDrawable(context, R.drawable.ic_gif_label))
|
||||
}
|
||||
|
||||
if (!isVideo && index == 2 && (mAnswerEntity?.images?.size?: 0) > 3) {
|
||||
if (!isVideo && index == 2 && ((mAnswerEntity?.images?.size
|
||||
?: 0) + (mAnswerEntity?.getPassVideos()?.size ?: 0)) > 3) {
|
||||
binding.labelIcon.visibility = View.GONE
|
||||
binding.durationOrNumTv.visibility = View.VISIBLE
|
||||
binding.durationOrNumTv.text = "+${mAnswerEntity?.images?.size}"
|
||||
|
||||
Reference in New Issue
Block a user