Skip to content

Distinguish the triggering objects of lifecycle callbacks#276

Open
rakuyoMo wants to merge 2 commits intopujiaxin33:masterfrom
rakuyoMo:feature/improve-lifecycle-callbacks
Open

Distinguish the triggering objects of lifecycle callbacks#276
rakuyoMo wants to merge 2 commits intopujiaxin33:masterfrom
rakuyoMo:feature/improve-lifecycle-callbacks

Conversation

@rakuyoMo
Copy link
Copy Markdown

@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