We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
首次打开ZhihuThirdFragment时,懒加载ShopFragment。ZhihuThirdFragment 会在https://github.com/YoKeyword/Fragmentation/blob/master/fragmentation_core/src/main/java/me/yokeyword/fragmentation/helper/internal/VisibleDelegate.java#L157 调用ShopFragment的dispatchSupportVisible,同时由于此时ShopFragment自己也会调用dispatchSupportVisible,造成onSupportVisible被调用2次。
而没有使用懒加载的ZhihuSecondFragment,没有这个问题。
The text was updated successfully, but these errors were encountered:
@harv 是的,确实嵌套场景下第一次visible时调用了2次, 明天我处理下 :)
Sorry, something went wrong.
bdc7990
v1.0.6 已Fix,dispatchSupportVisible()内部的调用顺序问题 🍺 :)
dispatchSupportVisible()
No branches or pull requests
首次打开ZhihuThirdFragment时,懒加载ShopFragment。ZhihuThirdFragment 会在https://github.com/YoKeyword/Fragmentation/blob/master/fragmentation_core/src/main/java/me/yokeyword/fragmentation/helper/internal/VisibleDelegate.java#L157 调用ShopFragment的dispatchSupportVisible,同时由于此时ShopFragment自己也会调用dispatchSupportVisible,造成onSupportVisible被调用2次。
而没有使用懒加载的ZhihuSecondFragment,没有这个问题。
The text was updated successfully, but these errors were encountered: