Commit d51619de by 万齐军

Merge branch 'feat/qj/fix_confide2' into 'release'

feat: 去掉视频封面,音频封面要

See merge request app_android_lib/YDL-Component!147
parents 4a4b4648 08a20a88
......@@ -5,7 +5,7 @@ ext {
ydlPublishVersion = [
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.50.20",
"m-confide" : "0.0.50.21",
"m-consultant" : "0.0.60.63",
"m-fm" : "0.0.30.09",
"m-user" : "0.0.62.48",
......@@ -93,7 +93,7 @@ ext {
ydlCompileVersion = [
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.50.20",
"m-confide" : "0.0.50.21",
"m-consultant" : "0.0.60.63",
"m-fm" : "0.0.30.09",
"m-user" : "0.0.62.48",
......
......@@ -59,6 +59,11 @@ internal class ItemIntroHolder(binding: ItemExpertIntroBinding) :
fun onBind(item: VideoViewModel) {
vm = item
if (vm?.isVideo == true) {
binding.ivCover.visibility = View.GONE
} else {
binding.ivCover.visibility = View.VISIBLE
}
binding.layoutCall.setOnClickListener {
if (!PhoneCallIn.loginByOneKeyLogin(itemView.context, true)) {
return@setOnClickListener
......
......@@ -28,8 +28,6 @@
android:src="@drawable/confide_back"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:shape="@{1}"
app:shapeBg="@{0x33000000}"
tools:ignore="ContentDescription" />
......
......@@ -28,7 +28,7 @@
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<!--<ImageView
<ImageView
android:id="@+id/ivCover"
android:layout_width="0dp"
android:layout_height="0dp"
......@@ -36,7 +36,7 @@
app:layout_constraintBottom_toBottomOf="@+id/videoView"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />-->
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/ivPlay"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment