Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
c0740b83
Commit
c0740b83
authored
Jun 08, 2022
by
万齐军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 去掉视频封面,音频封面要
parent
4a4b4648
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
ItemIntroHolder.kt
m-confide/src/main/java/com/ydl/confide/intro/ItemIntroHolder.kt
+5
-0
activity_expert_intro.xml
m-confide/src/main/res/layout/activity_expert_intro.xml
+0
-2
item_expert_intro.xml
m-confide/src/main/res/layout/item_expert_intro.xml
+2
-2
No files found.
m-confide/src/main/java/com/ydl/confide/intro/ItemIntroHolder.kt
View file @
c0740b83
...
...
@@ -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
...
...
m-confide/src/main/res/layout/activity_expert_intro.xml
View file @
c0740b83
...
...
@@ -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"
/>
...
...
m-confide/src/main/res/layout/item_expert_intro.xml
View file @
c0740b83
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment