-
Notifications
You must be signed in to change notification settings - Fork 398
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
进入一个界面然后开始网络请求(异步的),然后关闭界面,app闪退报 v can not be null这个错误,请问怎么解决啊 #71
Comments
newP,你应该重写成getP了 |
求教 怎么重写啊 我目前的解决方案是优化了网络请求框架,加了 compose(context.bindToLifecycle()) 绑定了生命周期 |
activity 关联present,重写newP方法, |
This was referenced Mar 18, 2020
本来就已经关联了呀 以及重写了这个newP()方法了呀 能不能详情点呀 求QQ号请教 |
1754533217 |
P里面的activity被回收了,再get就报错 |
可以在获取导数据的时候,用hasV()判断下! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
进入一个界面然后开始网络请求(异步的),然后关闭界面,app闪退报 v can not be null这个错误,请问怎么解决啊 能不能关闭当前界面的时候默认取消相关网络请求啊 怎么做啊 大神求教
The text was updated successfully, but these errors were encountered: