Skip to content
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

Distinguish the triggering objects of lifecycle callbacks #276

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rakuyoMo
Copy link

@rakuyoMo rakuyoMo commented Jan 8, 2025

JXSegmentedListContainerViewListDelegateJXPagingViewListViewDelegate 协议中和生命周期有关的方法增加 isSystemTrigger 参数,用来区分是 Controller 生命周期触发的回调,还是其他方式触发的回调。

也可以在保留原方法的基础上,增加新的方法来区分这两种情况,看作者的想法吧。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant