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
1dab8da3
Commit
1dab8da3
authored
Jun 06, 2022
by
万齐军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 去掉视频封面
parent
400d2004
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
config.gradle
config.gradle
+2
-2
ItemIntroHolder.kt
m-confide/src/main/java/com/ydl/confide/intro/ItemIntroHolder.kt
+3
-3
item_expert_intro.xml
m-confide/src/main/res/layout/item_expert_intro.xml
+2
-2
No files found.
config.gradle
View file @
1dab8da3
...
...
@@ -5,7 +5,7 @@ ext {
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.50.1
8
"
,
"m-confide"
:
"0.0.50.1
9
"
,
"m-consultant"
:
"0.0.60.27"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.26"
,
...
...
@@ -94,7 +94,7 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.50.1
8
"
,
"m-confide"
:
"0.0.50.1
9
"
,
"m-consultant"
:
"0.0.60.27"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.26"
,
...
...
m-confide/src/main/java/com/ydl/confide/intro/ItemIntroHolder.kt
View file @
1dab8da3
...
...
@@ -293,9 +293,9 @@ internal class ItemIntroHolder(binding: ItemExpertIntroBinding) :
.
subscribe
{
val
pos
=
(
video
?.
mMediaPlayer
as
IjkMediaPlayer
?)
?.
currentPosition
?:
0
if
(
pos
>
0
)
{
if
(
vm
?.
isVideo
==
true
)
{
binding
.
ivCover
.
visibility
=
View
.
GONE
}
//
if (vm?.isVideo == true) {
//
binding.ivCover.visibility = View.GONE
//
}
if
(!
isTouch
)
{
binding
.
seekbar
.
progress
=
pos
.
toInt
()
// video.bufferPercentage
}
...
...
m-confide/src/main/res/layout/item_expert_intro.xml
View file @
1dab8da3
...
...
@@ -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