dataSourceChangedNotifier

Notifier for data source changes. It allows the subscription of data source changes and enables reaction to them. The DataSourceChangedNotifier.activeDataSource property returns the same source as the getActiveDataSource method.

Note that if the HybridNavigationDataStore is closed, all listeners registered through this notifier will be removed, and any methods called on the DataSourceChangedNotifier will throw an IllegalStateException.

Important: This is a Public Preview API. It may be changed or removed at any time.