@Test public void testOnDestroy() { mbTilesHelper.initializeMbTileslayers(new File("src/test/resources/raster.mbtiles")); mbTilesHelper.onDestroy(); assertFalse(mbTilesHelper.tileServer.isStarted()); }
public void onDestroy() { if (tileServer != null) { tileServer.destroy(); } }
MBTilesHelper { public void onDestroy() { if (tileServer != null) { tileServer.destroy(); } } }
MBTilesHelper { public void onDestroy() { if (tileServer != null) { tileServer.destroy(); } }  }
MBTilesHelper { public void onDestroy() { if (tileServer != null) { tileServer.destroy(); } }  void initializeMbTileslayers(@NonNull Style style, List<File> offlineFiles); Pair<Set<Source>, Set<Layer>> initializeMbTileslayers(File offlineFile); void setMBTileLayers(Context context, BaseLayerSwitcherPlugin baseLayerSwitcherPlugin); void onDestroy(); }
MBTilesHelper { public void onDestroy() { if (tileServer != null) { tileServer.destroy(); } }  void initializeMbTileslayers(@NonNull Style style, List<File> offlineFiles); Pair<Set<Source>, Set<Layer>> initializeMbTileslayers(File offlineFile); void setMBTileLayers(Context context, BaseLayerSwitcherPlugin baseLayerSwitcherPlugin); void onDestroy(); static final String MB_TILES_EXTENSION; static final String MB_TILES_DIRECTORY; }