Skip to content

关于VP的关系 #688

Open
Open
@yuanjunli

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions