Commit a0eff3db by 霍志良

feat:咨询列表去除重复

parent dbbb7b96
......@@ -820,9 +820,11 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
doctorAdapter.hasMore = false
}
doctorList.addAll(data)
//咨询师列表去除重复数据start
var linkedHashSet=LinkedHashSet(doctorList)
doctorList.clear()
doctorList.addAll(linkedHashSet)
//咨询师列表去除重复数据end
doctorAdapter.notifyDataSetChanged()
isDoSearch = false
isRecommend = false
......
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