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

关于VP的关系 #688

Open
yuanjunli opened this issue Oct 31, 2016 · 0 comments
Open

关于VP的关系 #688

yuanjunli opened this issue Oct 31, 2016 · 0 comments

Comments

@yuanjunli
Copy link

 在传统的MVP模式中,V是持有P的对象的,但是在此文章中,activity做为P的时候是有V的引用,但是V并不持有P的引用。举个例子,当点击登录按钮时,setonclicklistener的逻辑是放在P层还是V层。
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

1 participant