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
8eb00844
Commit
8eb00844
authored
Aug 02, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 格式
parent
5d0da97b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
6 deletions
+9
-6
HomeBaseHttp.kt
m-home/src/main/java/com/yidianling/home/http/HomeBaseHttp.kt
+2
-1
YdlHomeAdapter.kt
m-home/src/xlzx/java/com/yidianling/home/adapter/YdlHomeAdapter.kt
+2
-2
IHomeContract.kt
m-home/src/xlzx/java/com/yidianling/home/constract/IHomeContract.kt
+2
-1
YdlHomeAdapter.kt
m-home/src/ydl/java/com/yidianling/home/adapter/YdlHomeAdapter.kt
+1
-1
IHomeContract.kt
m-home/src/ydl/java/com/yidianling/home/constract/IHomeContract.kt
+2
-1
No files found.
m-home/src/main/java/com/yidianling/home/http/HomeBaseHttp.kt
View file @
8eb00844
...
...
@@ -102,7 +102,7 @@ class HomeBaseHttp {
return
RxUtils
.
mapObservable
(
cmd
).
flatMap
{
getHomePagerApi
().
askFocus
(
it
)
}
}
fun
getMeditationInfo
():
Observable
<
BaseAPIResponse
<
MeditationModuleBean
>>
{
fun
getMeditationInfo
():
Observable
<
BaseAPIResponse
<
MeditationModuleBean
>>
{
return
getHomePagerApi
().
getMeditation
()
}
}
\ No newline at end of file
m-home/src/xlzx/java/com/yidianling/home/adapter/YdlHomeAdapter.kt
View file @
8eb00844
...
...
@@ -194,9 +194,9 @@ class YdlHomeAdapter(
is
HomeTestViewHolder
->
{
holder
.
testView
.
initData
(
list
[
position
].
testListBean
)
}
is
HomeMuseViewHolder
->{
is
HomeMuseViewHolder
->
{
holder
.
museViewView
.
video_view
?.
setOnInfoListener
{
mp
,
what
,
extra
->
if
(
what
==
MediaPlayer
.
MEDIA_INFO_VIDEO_RENDERING_START
){
if
(
what
==
MediaPlayer
.
MEDIA_INFO_VIDEO_RENDERING_START
)
{
holder
.
museViewView
.
video_view
?.
setBackgroundColor
(
Color
.
TRANSPARENT
)
}
true
...
...
m-home/src/xlzx/java/com/yidianling/home/constract/IHomeContract.kt
View file @
8eb00844
...
...
@@ -62,6 +62,6 @@ class IHomeContract {
*/
fun
getCoupons
(
uid
:
String
):
Observable
<
BaseResponse
<
List
<
CouponBean
>>>
fun
getMeditation
():
Observable
<
MeditationModuleBean
>
fun
getMeditation
():
Observable
<
MeditationModuleBean
>
}
}
\ No newline at end of file
m-home/src/ydl/java/com/yidianling/home/adapter/YdlHomeAdapter.kt
View file @
8eb00844
...
...
@@ -179,7 +179,7 @@ class YdlHomeAdapter(private val mContext: Context,
}
//壹点*冥想模块
HomeViewConfig
.
getOrder
().
museIndex
->
{
return
HomeMuseViewHolder
(
HomeMuseView
(
mContext
),
viewType
)
return
HomeMuseViewHolder
(
HomeMuseView
(
mContext
),
viewType
)
}
//底部提示语模块
else
->
{
...
...
m-home/src/ydl/java/com/yidianling/home/constract/IHomeContract.kt
View file @
8eb00844
...
...
@@ -22,6 +22,6 @@ class IHomeContract {
*/
fun
museRequest
():
Observable
<
MuseModuleBean
>
fun
getMeditation
():
Observable
<
MeditationModuleBean
>
fun
getMeditation
():
Observable
<
MeditationModuleBean
>
}
}
\ No newline at end of file
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