目录

How do I subscribe to the lifecycle changes of a UIAbility instance on a page?

You can use ApplicationContext.on() provided by the ApplicationContext module to subscribe to UIAbility lifecycle changes in a process.

Reference

Listening for UIAbility Lifecycle Changes, ApplicationContext.on