We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
是否可以把presenter层从ui里独立出来,毕竟不同的view可能有相同的业务
The text was updated successfully, but these errors were encountered:
可以 我这是按照功能分包 也可以按照结构分包
Sorry, something went wrong.
Presenter大多数的时候都是为了解耦,很少看到能复用的Presenter,比较赞成作者的分包方式,但是我觉得不应该把M和P绑定在一起,很多时候一个Presenter需要跟多个数据源(多个M)交互。所以每个M应该是独立的,由上层的Presenter来调用一个或者多个。
Merge pull request #1 from north2016/master
f7a6060
update
No branches or pull requests
是否可以把presenter层从ui里独立出来,毕竟不同的view可能有相同的业务
The text was updated successfully, but these errors were encountered: