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

Presenter getData后如果页面销毁会报NullPointerException #1

Closed
chaimingkun opened this issue Apr 16, 2018 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@chaimingkun
Copy link

问题如上,原因就是getView().showData("Hello MVPFrame");
这行代码getView得到的为null

@Lrony Lrony added the bug Something isn't working label Apr 16, 2018
Lrony added a commit that referenced this issue Apr 16, 2018
Change-Id: I6b855ad938b809bb0c547c5bc07d2ebffdd30dc4
@Lrony
Copy link
Owner

Lrony commented Apr 16, 2018

@chaimingkun 这个是我大意了,判断View是否存在的接口已经预留了。但是Demo没使用,已修改提交,感谢反馈!

@Lrony Lrony closed this as completed Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants