class MBTilesHelper {

    public void initializeMbTileslayers(@NonNull Style style, List<File> offlineFiles) {
        init(offlineFiles);
        for (File file : offlineFiles) {
            String name = file.getName();
            if (name.endsWith(MB_TILES_EXTENSION)) {
                String id = name.substring(0, name.length() - MB_TILES_EXTENSION.length());
                addMbtiles(style, id, file);
            }
        }
    }

}