-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
第2次show()的时候弹不出来 #1191
Comments
我也遇到FullScreenPopupView在第二次show的时候概率性弹不出来的问题,换成BottomPopupView就不会出现这个问题 |
implementation('com.github.billdizl:XPopup:2.10.4') 百万日活app验证无问题 |
|
你用这个implementation('com.github.billdizl:XPopup:2.10.4')试了? 还有问题?show不出来? |
XPopup版本
2.10.0
手机系统和型号
Vivo X27, Android 10
描述你的问题
kotlin代码(没有缓存对象, 每次都new)
GradeNormalView
里有1个model
对象:private val model by activity.viewModels<GradeNormalDialogModel>()
model
对象里有几个接口, 还有几个回调监听:然后点击了里面的某一个item, 比如"司法", 然后在
GradeNormalView
里会调用model.changeGrade(gradeId)
方法, 问题就出在这儿!调用以上接口后, 如果在
GradeNormalView
里这样监听:然后第2次就弹不起来了, 我也不知道是啥原因.
onSuccess()
直接回调结果, 就不会出问题The text was updated successfully, but these errors were encountered: