src/main/java/de/dennisguse/opentracks/data/TrackDataHub.java
public void registerTrackDataListener(final Listener trackDataListener) {
        handler.post(() -> {
            listeners.add(trackDataListener);
            if (isStarted()) {
                loadDataForListener(trackDataListener);
            }
        });
    }
/**
     * Registers a {@link Listener}.
     *
     * @param trackDataListener the track data listener
     */
Registers a  Listener.
@param trackDataListener the track data listener
Registers a Listener . @param trackDataListener the track data listener
public void registerTrackDataListener(final Listener trackDataListener) {
        handler.post(() -> {
            listeners.add(trackDataListener);
            if (isStarted()) {
                loadDataForListener(trackDataListener);
            }
        });
    }
public void registerTrackDataListener ( final Listener trackDataListener ) { handler . post ( ( ) -> { listeners . add ( trackDataListener ) ; if ( isStarted ( ) ) { loadDataForListener ( trackDataListener ) ; } } ) ; }
Registers a {@link Listener}.
Registers a { @link Listener } .