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
224f9f90
Commit
224f9f90
authored
Aug 09, 2022
by
王佳洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
音频定位
parent
be7c2d14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
config.gradle
config.gradle
+1
-1
AudioPlayPresenter.kt
m-course/src/main/java/com/yidianling/course/coursePlay/presenter/AudioPlayPresenter.kt
+1
-1
No files found.
config.gradle
View file @
224f9f90
ext
{
dev_mode
=
fals
e
//组件发布的时候需要设置为false
dev_mode
=
tru
e
//组件发布的时候需要设置为false
ydl2PublishVersion
=
"0.2.0.20-wjy"
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
...
...
m-course/src/main/java/com/yidianling/course/coursePlay/presenter/AudioPlayPresenter.kt
View file @
224f9f90
...
...
@@ -91,7 +91,7 @@ class AudioPlayPresenter : BasePresenter<IAudioPlayContract.View, IAudioPlayCont
mCourPlayBean
=
bean
setPlayList
(
bean
)
if
(!
mPlayUrl
.
isNullOrEmpty
())
{
val
position
=
mPlayList
.
indexOf
La
st
{
val
position
=
mPlayList
.
indexOf
Fir
st
{
mPlayUrl
==
it
.
url
}
mCurrentPosition
=
if
(-
1
==
position
)
0
else
position
...
...
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