addDataObserver

Adds a data observer to receive notifications when the adapter's data changes.

Parameters

observer

The observer to be added