程序包 ohos.aafwk.abilityjet.activedata

Provides a data holder class for observing data.

A DataObserver with a lifecycle can be added, and the observer will be notified of data changes when it is in the required lifecycle state. The observer will be automatically removed when it is destroyed.

从以下版本开始:
1
跳过导航链接