Class UpdateDecoupler

java.lang.Object
slash.navigation.mapview.mapsforge.updater.UpdateDecoupler

public class UpdateDecoupler extends Object
Decouples position list changes from the map updating: serializes the work onto a single background thread and dispatches it to the EventMapUpdater for the list's current characteristics. Keeps the event listeners off the rendering work.
Author:
Christian Pesch
  • Constructor Details

  • Method Details

    • replaceRoute

      public void replaceRoute()
    • handleUpdate

      public void handleUpdate(int eventType, int firstRow, int lastRow)
    • dispose

      public void dispose()