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

MVVM架构 #8

Open
Lancerer opened this issue Apr 20, 2020 · 1 comment
Open

MVVM架构 #8

Lancerer opened this issue Apr 20, 2020 · 1 comment

Comments

@Lancerer
Copy link

我感觉你这个怎么有点mvp的意思,照理说mvvm不是应该view和viewModel解耦的吗,你怎么又把它耦合在一起

@ivalimmb
Copy link

ivalimmb commented Jun 8, 2020

我感觉你这个怎么有点mvp的意思,照理说mvvm不是应该view和viewModel解耦的吗,你怎么又把它耦合在一起
一样的感觉 viewModel.attachUi(this) 这样vm和view就形成了双向依赖

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

2 participants