drakeet / MultiType

Flexible multiple types for Android RecyclerView.
Apache License 2.0
5.76k stars 751 forks source link

恕我直言,多类型实体类实现过于复杂!虽然item多样式,但后台返回外层json类型是一个,不可能根据你item的不同拆分bean的不同,不如MultiAdapter库。 #327

Open censhengde opened 3 years ago

censhengde commented 3 years ago

What kind of issue is this?

Info:
Description:
Reproduction Steps:
My thoughts:
What did I do:
asker517 commented 3 years ago

@censhengde 恕我直言.....您应该好好看看人家库的文档...你说的这情况不就是oneToMany的方式处理不就完了么...你不想拆分你的bean那就按你实现的去做type区分呗

wzgl5533 commented 3 years ago

楼上说的对,使用一个Bean 内部使用type去区分,典型的就是聊天记录展示,这点我觉得你可能没理解到@censhengde