-
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
描述你的问题
![](https://private-user-images.githubusercontent.com/25694162/289819306-7fd815ef-825c-4f9a-bd18-a63e88738bf4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNjYxODYsIm5iZiI6MTcyNTA2NTg4NiwicGF0aCI6Ii8yNTY5NDE2Mi8yODk4MTkzMDYtN2ZkODE1ZWYtODI1Yy00ZjlhLWJkMTgtYTYzZTg4NzM4YmY0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMxVDAwNTgwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJkMjRjZDY5ZjlmY2E0M2EwZWE3NTY5NDg1YTE0YjQwOTdhM2Q1YmE0YTcxNmI0MDg0NzM2MmYyYWJkYzhkOGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.aTzKj98i_3MYNnvyW0RLrPRUbvNVDqR_0edoBsMR82A)
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: