src/main/java/de/dennisguse/opentracks/data/TrackDataHub.java
private void loadDataForListener(Listener trackDataListener) {
        Set<Listener> trackDataListeners = Collections.singleton(trackDataListener);

        //Track
        notifyTracksTableUpdate(trackDataListeners);

        //TrackPoints
        trackDataListener.clearTrackPoints();
        boolean isOnlyListener = listeners.size() == 1;
        if (isOnlyListener) {
            resetSamplingState();
        }
        notifyTrackPointsTableUpdate(isOnlyListener, trackDataListeners);

        //Markers
        notifyMarkersTableUpdate(trackDataListeners);
    }
/**
     * Loads data for a listener; to be run in the {@link #handler} thread.
     *
     * @param trackDataListener the track data listener.
     */
Loads data for a listener; to be run in the  #handler thread.
@param trackDataListener the track data listener.
Loads data for a listener ; to be run in the #handler thread . @param trackDataListener the track data listener .
private void loadDataForListener(Listener trackDataListener) {
        Set<Listener> trackDataListeners = Collections.singleton(trackDataListener);
        notifyTracksTableUpdate(trackDataListeners);
        Points
        trackDataListener.clearTrackPoints();
        boolean isOnlyListener = listeners.size() == 1;
        if (isOnlyListener) {
            resetSamplingState();
        }
        notifyTrackPointsTableUpdate(isOnlyListener, trackDataListeners);
        notifyMarkersTableUpdate(trackDataListeners);
    }
private void loadDataForListener ( Listener trackDataListener ) { Set < Listener > trackDataListeners = Collections . singleton ( trackDataListener ) ; notifyTracksTableUpdate ( trackDataListeners ) ; trackDataListener . clearTrackPoints ( ) ; boolean isOnlyListener = listeners . size ( ) == 1 ; if ( isOnlyListener ) { resetSamplingState ( ) ; } notifyTrackPointsTableUpdate ( isOnlyListener , trackDataListeners ) ; notifyMarkersTableUpdate ( trackDataListeners ) ; }
Loads data for a listener; to be run in the {@link #handler} thread.
Loads data for a listener ; to be run in the { @link #handler } thread .
//Track //TrackPoints //Markers