public interface DataListener
DataListener
is used to receive notifications about data availability
in the corresponding data providers.
Generally, the notification is issued only if provider transforms from 'empty' state into 'available' state at some moment after transition. In other cases notification is not issued, though certain exclusions exist. The notification is issued in a state that allows listener to perform potentially costly operations like event scheduling, synchronization, or farther notification.
RecordListener
.
New code is also discouraged from using this interface unless it is need for interoperability with
legacy code. Various legacy APIs will be gradually migrated to NG interfaces and classes.Modifier and Type | Field and Description |
---|---|
static DataListener |
VOID
This listener immediately retrieves and discards data from provider.
|
Modifier and Type | Method and Description |
---|---|
void |
dataAvailable(DataProvider provider)
Notifies this listener that data is available in the specified data provider.
|
static final DataListener VOID
void dataAvailable(DataProvider provider)
Copyright © 2002-2019 Devexperts LLC. All Rights Reserved.