setDataSourceListener abstract method

void setDataSourceListener(
  1. DataSourceListener? dataSourceListener
)

Sets data source listener. Use it to invalidate data source. Temporary solution until https://st.mappable-team.ru/MAPSMOBCORE-20531 is done

The class does not retain the object in the 'dataSourceListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.

Implementation

void setDataSourceListener(
    mapkit_layers_data_source.DataSourceListener? dataSourceListener);