Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks
censhengde opened this issue Aug 10, 2021 · 2 comments

Comments

@censhengde
Copy link

What kind of issue is this?

  • Question. This issue tracker is not the place for questions. If you want to ask how to do
    something, or to understand why something isn't working the way you expect it to, use Stack
    Overflow. https://stackoverflow.com/questions/tagged/MultiType

  • Bug report. If you’ve found a bug, spend the time to write a failing test. Please provide
          your device name, device OS version, and describe the reproduction steps.

  • Feature Request. Start by telling us what problem you’re trying to solve. Often a solution
    already exists! Don’t send pull requests to implement new features without first getting our
    support. Sometimes we leave features out on purpose to keep the project small.

Info:
  • MultiType version:
  • Device OS version:
  • Device Name:
Description:
Reproduction Steps:
My thoughts:
What did I do:
@asker517
Copy link

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

@wzgl5533
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants