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
19593d03
Commit
19593d03
authored
Nov 22, 2019
by
konghaorui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改版本号
parent
721db115
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
26 deletions
+27
-26
config.gradle
config.gradle
+7
-7
FMDetailActivity.java
m-fm/src/main/java/com/yidianling/fm/FMDetailActivity.java
+20
-19
No files found.
config.gradle
View file @
19593d03
ext
{
kotlin_version
=
"1.3.21"
dev_mode
=
fals
e
dev_mode
=
tru
e
ydl_app
=
[
appName
:
"心理咨询壹点灵"
,
...
...
@@ -42,11 +42,11 @@ ext {
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.2
1
"
,
"m-confide"
:
"0.0.2
2
"
,
"m-consultant"
:
"0.0.38"
,
"m-course"
:
"0.0.2
4
"
,
"m-fm"
:
"0.0.1
6
"
,
"m-muse"
:
"0.0.1
3
"
,
"m-course"
:
"0.0.2
5
"
,
"m-fm"
:
"0.0.1
8
"
,
"m-muse"
:
"0.0.1
4
"
,
"m-tests"
:
"0.0.10"
,
"m-user"
:
"0.0.31"
,
...
...
@@ -65,7 +65,7 @@ ext {
"ydl-platform"
:
"0.0.24"
,
//第二步 若干
"ydl-webview"
:
"0.0.26"
,
"ydl-media"
:
"0.0.1
2
"
,
"ydl-media"
:
"0.0.1
3
"
,
"ydl-pay"
:
"0.0.9"
,
"m-audioim"
:
"0.0.15"
,
//以下 几乎不会动
...
...
@@ -100,7 +100,7 @@ ext {
"ydl-platform"
:
"0.0.24"
,
//第二步 若干
"ydl-webview"
:
"0.0.24"
,
"ydl-media"
:
"0.0.1
2
"
,
"ydl-media"
:
"0.0.1
3
"
,
"ydl-pay"
:
"0.0.9"
,
"m-audioim"
:
"0.0.15"
,
//以下 几乎不会动
...
...
m-fm/src/main/java/com/yidianling/fm/FMDetailActivity.java
View file @
19593d03
...
...
@@ -62,7 +62,7 @@ import io.reactivex.android.schedulers.AndroidSchedulers;
* Created by softrice on 15/12/11.
*/
@Route
(
path
=
"/fm/detail"
)
public
class
FMDetailActivity
extends
BaseActivity
implements
View
.
OnClickListener
,
OnPlayerEventListener
{
public
class
FMDetailActivity
extends
BaseActivity
implements
View
.
OnClickListener
,
OnPlayerEventListener
,
PlayerFloatView
.
FloatViewPlayListener
{
int
id
;
boolean
isSplash
;
...
...
@@ -227,23 +227,7 @@ public class FMDetailActivity extends BaseActivity implements View.OnClickListen
init
();
initSurfaceView
();
initImg
();
PlayerFloatHelper
.
Companion
.
addClickListener
(
new
PlayerFloatView
.
FloatViewPlayListener
()
{
@Override
public
void
onPauseClick
()
{
iv_play
.
setImageResource
(
R
.
drawable
.
fm_play_2
);
fmSurfaceView
.
stopTimer
();
}
@Override
public
void
onStartClick
()
{
iv_play
.
setImageResource
(
R
.
drawable
.
fm_stop_2
);
fmSurfaceView
.
playTimer
();
}
@Override
public
void
onPlayFinish
()
{
}
});
PlayerFloatHelper
.
Companion
.
addClickListener
(
this
);
}
@SuppressLint
(
"WrongConstant"
)
...
...
@@ -607,8 +591,8 @@ public class FMDetailActivity extends BaseActivity implements View.OnClickListen
anim
.
cancel
();
EventBus
.
getDefault
().
unregister
(
this
);
AudioPlayer
.
Companion
.
get
().
removeOnPlayEventListener
(
this
);
PlayerFloatHelper
.
Companion
.
removeClickListener
(
this
);
}
@Override
...
...
@@ -656,4 +640,21 @@ public class FMDetailActivity extends BaseActivity implements View.OnClickListen
updateAnimateStatus
();
getFMDetail
(
fmDetail
.
getNext_id
(),
true
);
}
@Override
public
void
onPauseClick
()
{
iv_play
.
setImageResource
(
R
.
drawable
.
fm_play_2
);
fmSurfaceView
.
stopTimer
();
}
@Override
public
void
onStartClick
()
{
iv_play
.
setImageResource
(
R
.
drawable
.
fm_stop_2
);
fmSurfaceView
.
playTimer
();
}
@Override
public
void
onPlayFinish
()
{
}
}
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