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
a8d106fc
Commit
a8d106fc
authored
Apr 14, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:首页数据修改
parent
61c5b853
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
config.gradle
config.gradle
+2
-2
YdlHomeAdapter.kt
m-home/src/ydl/java/com/yidianling/home/adapter/YdlHomeAdapter.kt
+4
-0
HomeButtonBannerView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeButtonBannerView.kt
+0
-2
No files found.
config.gradle
View file @
a8d106fc
...
...
@@ -9,7 +9,7 @@ ext {
"m-consultant"
:
"0.0.60.11"
,
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.62.01"
,
"m-home"
:
"0.0.22.9
4
"
,
"m-home"
:
"0.0.22.9
5
"
,
"m-im"
:
"0.0.21.18"
,
"m-dynamic"
:
"0.0.7.35"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -93,7 +93,7 @@ ext {
"m-consultant"
:
"0.0.60.11"
,
"m-fm"
:
"0.0.30.07"
,
"m-user"
:
"0.0.62.01"
,
"m-home"
:
"0.0.22.9
4
"
,
"m-home"
:
"0.0.22.9
5
"
,
"m-im"
:
"0.0.21.18"
,
"m-dynamic"
:
"0.0.7.35"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-home/src/ydl/java/com/yidianling/home/adapter/YdlHomeAdapter.kt
View file @
a8d106fc
...
...
@@ -7,6 +7,7 @@ import android.view.ViewGroup
import
android.widget.ImageView
import
androidx.recyclerview.widget.RecyclerView
import
com.ydl.ydl_image.module.GlideApp
import
com.yidianling.common.tools.LogUtil
import
com.yidianling.home.R
import
com.yidianling.home.constract.HomeViewConfig
import
com.yidianling.home.event.HomeImpl
...
...
@@ -74,6 +75,7 @@ class YdlHomeAdapter(private val mContext: Context,
confidePosition
=
-
1
consultPosition
=
-
1
notifyDataSetChanged
()
}
/**
...
...
@@ -98,6 +100,8 @@ class YdlHomeAdapter(private val mContext: Context,
list
[
consultPosition
].
consultBean
=
data
this
.
consultSelectPosition
=
selectPosition
notifyItemChanged
(
consultPosition
)
notifyItemChanged
(
1
)
}
/**
...
...
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeButtonBannerView.kt
View file @
a8d106fc
...
...
@@ -5,14 +5,12 @@ import android.view.View
import
android.view.ViewGroup
import
android.widget.FrameLayout
import
android.widget.LinearLayout
import
androidx.constraintlayout.widget.ConstraintLayout
import
androidx.recyclerview.widget.RecyclerView
import
com.bumptech.glide.Glide
import
com.bumptech.glide.load.engine.DiskCacheStrategy
import
com.yidianling.home.R
import
com.yidianling.home.event.IHomeBaseEvent
import
com.yidianling.common.tools.RxDeviceTool
import
com.yidianling.common.tools.RxImageTool
import
kotlinx.android.synthetic.ydl.home_button_banner_view.view.*
/**
...
...
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