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
9c6c7dc8
Commit
9c6c7dc8
authored
Aug 11, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/wjy/音频格式化bug修复' into 'd/v4.4.07'
音频格式化bug修复 See merge request app_android_lib/YDL-Component!304
parents
c22888ef
a02fa22f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
+1
-4
AudioPlayView.kt
m-course/src/main/java/com/yidianling/course/widget/AudioPlayView.kt
+1
-4
No files found.
m-course/src/main/java/com/yidianling/course/widget/AudioPlayView.kt
View file @
9c6c7dc8
...
...
@@ -208,10 +208,7 @@ class AudioPlayView(context: Context, attrs: AttributeSet?) :
if
(
time
<=
0
)
return
"00:00"
val
min
=
time
/
60000
val
ss
=
(
time
-
min
*
60000
)
/
1000
val
m
=
""
+
min
val
s
=
""
+
ss
return
String
.
format
(
"%02d:%02d"
,
m
,
s
)
return
String
.
format
(
"%02d:%02d"
,
min
,
ss
)
}
override
fun
onDetachedFromWindow
()
{
...
...
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