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
8769faa5
Commit
8769faa5
authored
Mar 16, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:去掉倾诉页面的听声寻人模块
parent
45e5213f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ConfideHomeAdapter.kt
m-confide/src/main/java/com/ydl/confide/home/adapter/ConfideHomeAdapter.kt
+5
-5
No files found.
m-confide/src/main/java/com/ydl/confide/home/adapter/ConfideHomeAdapter.kt
View file @
8769faa5
...
...
@@ -92,10 +92,10 @@ class ConfideHomeAdapter(private val mContext: Context,
IConfideHomeConfig
.
TYPE_RECOMMEND
->
{
return
RecommendViewHolder
(
ConfideHomeRecommendView
(
confideHomeView
,
parent
.
context
,
confideHomeEvent
))
}
//听声寻人
IConfideHomeConfig
.
TYPE_SOUND
->
{
return
ConfideHomeListenAndFoundViewHolder
(
ConfideHomeListenAndFoundView
(
parent
.
context
,
confideHomeEvent
))
}
//
//听声寻人
//
IConfideHomeConfig.TYPE_SOUND -> {
////
return ConfideHomeListenAndFoundViewHolder(ConfideHomeListenAndFoundView(parent.context, confideHomeEvent))
//
}
else
->
{
return
EmptyViewHolder
(
View
.
inflate
(
parent
.
context
,
R
.
layout
.
confide_empty
,
null
))
}
...
...
@@ -115,7 +115,7 @@ class ConfideHomeAdapter(private val mContext: Context,
holder
.
filterView
.
initData
(
mListData
!!
[
position
])
}
else
if
(
holder
is
ConfideHomeListenAndFoundViewHolder
)
{
//听声寻人
holder
.
confideHomeListenAndFoundView
!!
.
initData
(
mListData
!!
[
position
])
//
holder.confideHomeListenAndFoundView!!.initData(mListData!![position])
}
else
if
(
holder
is
ConsultViewHolder
&&
null
!=
holder
.
consultView
)
{
//最近倾诉
holder
.
consultView
!!
.
initData
(
mListData
!!
[
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