mirror of
https://github.com/Tencent/QMUI_Android.git
synced 2026-10-17 04:31:16 +08:00
bugfix: call onViewAttachedToWindow.
This commit is contained in:
@@ -111,7 +111,7 @@ fun View.registerExposure(
|
||||
setTag(R.id.qmui_exposure_register, attachListener)
|
||||
addOnAttachStateChangeListener(attachListener)
|
||||
if(isAttachedToWindow){
|
||||
checkExposure(holdTime, debounceTimeout, containerProvider, exposureChecker)
|
||||
attachListener.onViewAttachedToWindow(this)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user