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
你好,第一次集成这个库,确实很强大,可定制内容很多。但也碰到些问题,望解惑。
The text was updated successfully, but these errors were encountered:
JXSegmentedListContainerViewListDelegate
beginAppearanceTransition
endAppearanceTransition
listDidAppear
willMove(toWindow newWindow: UIWindow?)
基于现在的版本解决你的问题,建议你把最外层的父VC的生命周期方法,通过自定义方法传递给子VC,而不要依赖于listDidAppear。
Sorry, something went wrong.
对列表已经抽象为遵从协议JXSegmentedListContainerViewListDelegate的类,所以,没有对列表做什么特殊处理。如果你的列表是VC,那么就不能信赖它的生命周期方法。因为列表只是使用了VC的view而已。如果要实现VC的全生命周期,需要配合beginAppearanceTransition和endAppearanceTransitionAPI。因为我对列表进行了抽象,所以就没有做这个操作。 因为列表的listDidAppear方法,在willMove(toWindow newWindow: UIWindow?)触发,所以时机有点不太恰当。 基于现在的版本解决你的问题,建议你把最外层的父VC的生命周期方法,通过自定义方法传递给子VC,而不要依赖于listDidAppear。
收到,学习了,感谢提供解决思路。
后期我会再优化列表的生命周期方法的处理,目前就按照现在的方案就行。
No branches or pull requests
你好,第一次集成这个库,确实很强大,可定制内容很多。但也碰到些问题,望解惑。
The text was updated successfully, but these errors were encountered: