fix: 修复下拉推送偶发的空指针闪退问题 https://sentry.shanqu.cc/organizations/lightgame/issues/418647/events/1d426e3ceda5477c9afbc6712d335b22/?project=22
This commit is contained in:
@ -981,6 +981,8 @@ class SearchToolbarTabWrapperFragment : BaseTabWrapperFragment(), ISearchToolbar
|
||||
}
|
||||
|
||||
override fun setPullDownPush(pullDownPush: PullDownPush?, pullDownPushHandler: PullDownPushHandler?) {
|
||||
if (!isAdded) return
|
||||
|
||||
if (autoVideoView == null) {
|
||||
binding.autoVideoViewStub.setOnInflateListener { _, inflated ->
|
||||
autoVideoView = LayoutAutoVideoViewBinding.bind(inflated).root
|
||||
|
||||
Reference in New Issue
Block a user