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
586117c4
Commit
586117c4
authored
May 06, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:bug修复 17441
parent
7a406d52
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
3 deletions
+26
-3
TopicDetailActivity.java
m-dynamic/src/main/java/com/yidianling/dynamic/topic/topicDetail/TopicDetailActivity.java
+5
-0
HomeBaseImpl.kt
m-home/src/main/java/com/yidianling/home/event/HomeBaseImpl.kt
+13
-2
IHomeBaseEvent.kt
m-home/src/main/java/com/yidianling/home/event/IHomeBaseEvent.kt
+7
-0
HomeAssuageGriefItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeAssuageGriefItemView.kt
+1
-1
No files found.
m-dynamic/src/main/java/com/yidianling/dynamic/topic/topicDetail/TopicDetailActivity.java
View file @
586117c4
...
...
@@ -290,6 +290,11 @@ public class TopicDetailActivity extends BaseMvpActivity<TopicDetailView, TopicD
totalMembers
=
0
;
topicId
=
getIntent
().
getStringExtra
(
"topic_id"
);
isSplash
=
getIntent
().
getBooleanExtra
(
"isSplash"
,
false
);
Bundle
bundle
=
getIntent
().
getBundleExtra
(
"bundle"
);
if
(
bundle
!=
null
)
{
topicId
=
bundle
.
getString
(
"topic_id"
,
"44"
);
isSplash
=
bundle
.
getBoolean
(
"isSplash"
,
false
);
}
adapter
=
new
TopicDetailMemberAdapter
(
this
);
mFragments
=
new
Fragment
[]{
TrendListInFragment
.
newInstance
(
"1"
,
topicId
,
"default"
,
"0"
),
TrendListInFragment
.
newInstance
(
"2"
,
topicId
,
"default"
,
"0"
)};
...
...
m-home/src/main/java/com/yidianling/home/event/HomeBaseImpl.kt
View file @
586117c4
...
...
@@ -4,10 +4,10 @@ import android.content.Context
import
android.content.Intent
import
android.net.Uri
import
android.os.Bundle
import
androidx.appcompat.app.AppCompatActivity
import
androidx.recyclerview.widget.RecyclerView
import
android.text.TextUtils
import
android.view.View
import
androidx.appcompat.app.AppCompatActivity
import
androidx.recyclerview.widget.RecyclerView
import
com.alibaba.android.arouter.launcher.ARouter
import
com.ydl.media.audio.AudioPlayer
import
com.ydl.media.audio.model.Music
...
...
@@ -23,6 +23,7 @@ import com.ydl.ydlcommon.base.config.HttpConfig
import
com.ydl.ydlcommon.bean.ShareData
import
com.ydl.ydlcommon.data.PlatformRamImpl
import
com.ydl.ydlcommon.modular.ModularServiceManager
import
com.ydl.ydlcommon.modular.ModularServiceManager.provide
import
com.ydl.ydlcommon.router.IYDLRouterConstant
import
com.ydl.ydlcommon.utils.LogUtil
import
com.ydl.ydlcommon.utils.Utils
...
...
@@ -110,6 +111,16 @@ open class HomeBaseImpl : IHomeBaseEvent {
mHomeView
!!
.
getConsultData
(
type
.
id
.
toString
(),
selectPosition
)
}
override
fun
jumpToTopicDetail
(
topic_id
:
String
)
{
val
bundle
=
Bundle
()
bundle
.
putString
(
"topic_id"
,
topic_id
)
bundle
.
putBoolean
(
"isSplash"
,
false
)
//动态详情
ARouter
.
getInstance
().
build
(
"/topic/detail"
)
.
withBundle
(
"bundle"
,
bundle
)
.
navigation
()
}
private
var
headerView
:
View
?
=
null
var
mContext
:
Context
?
=
null
...
...
m-home/src/main/java/com/yidianling/home/event/IHomeBaseEvent.kt
View file @
586117c4
...
...
@@ -185,4 +185,10 @@ interface IHomeBaseEvent {
* @param selectPosition 选中的position
*/
fun
getConsultData
(
type
:
HomeHeaderBean
.
ConsultCategoryDateBean
,
selectPosition
:
Int
)
/*
* 跳转话题详情
*
* */
fun
jumpToTopicDetail
(
topic_id
:
String
)
}
\ No newline at end of file
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeAssuageGriefItemView.kt
View file @
586117c4
...
...
@@ -69,7 +69,7 @@ class HomeAssuageGriefItemView(private val mContext: Context, private var homeEv
homeModuleAssuageGriefViewZanCount
.
text
=
bean
?.
zanCount
.
toString
()
ll_topic_detail
.
setOnClickListener
{
//跳转话题详情
homeEvent
?.
jumpToTopicDetail
(
bean
.
topicId
.
toString
())
}
/**
...
...
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