Commit 1939d3dd by 徐健

View内部判断上下文不为空,则执行展示逻辑

parent c2c21df2
......@@ -78,9 +78,11 @@ class RecommendListView : LinearLayout {
.filter { true }
.observeOn(AndroidSchedulers.mainThread())
.subscribe(Consumer {
if (null != mContext) {
mSceneSpecialTopicList.addAll(it.sceneSpecialTopic)
mDoctorSpecialTopicsList.addAll(it.doctorSpecialTopics)
setData()
}
}, object : ThrowableConsumer() {
override fun accept(msg: String) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment