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
e9ecc63b
Commit
e9ecc63b
authored
Nov 14, 2019
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加咨询模块的导医代码
parent
20498e9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
MainActivity.kt
app/src/main/java/com/ydl/component/MainActivity.kt
+8
-8
No files found.
app/src/main/java/com/ydl/component/MainActivity.kt
View file @
e9ecc63b
...
...
@@ -24,7 +24,7 @@ import com.ydl.ydlcommon.mvp.lce.BaseLceActivity
import
com.ydl.ydlcommon.router.IYDLRouterConstant
import
com.yidianling.common.tools.ToastUtil
import
com.yidianling.fm.api.service.IFMService
import
com.yidianling.tests.home.TestHomeActivity
//
import com.yidianling.tests.home.TestHomeActivity
import
kotlinx.android.synthetic.main.activity_main.*
/**
...
...
@@ -88,7 +88,7 @@ class MainActivity : BaseLceActivity<DemoContract.View, DemoContract.Presenter>(
startActivity
(
Intent
(
this
,
MusicPlayActivity
::
class
.
java
))
}
bt_to_tests
.
setOnClickListener
{
startActivity
(
Intent
(
this
,
TestHomeActivity
::
class
.
java
))
//
startActivity(Intent(this, TestHomeActivity::class.java))
}
bt_to_muse
.
setOnClickListener
{
YDLRouterManager
.
router
(
IYDLRouterConstant
.
ROUTER_MUSE
,
...
...
@@ -162,12 +162,12 @@ class MainActivity : BaseLceActivity<DemoContract.View, DemoContract.Presenter>(
}
override
fun
onDestroy
()
{
if
(
serviceConnection
!=
null
)
{
unbindService
(
serviceConnection
)
}
super
.
onDestroy
()
}
//
override fun onDestroy() {
//
if (serviceConnection != null) {
//
unbindService(serviceConnection)
//
}
//
super.onDestroy()
//
}
private
inner
class
PlayServiceConnection
:
ServiceConnection
{
override
fun
onServiceConnected
(
name
:
ComponentName
,
service
:
IBinder
)
{
...
...
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