Android: Allow custom ModuleProvider implementations in the SDK (#2231)

This commit is contained in:
mwilsnd
2024-04-04 13:23:08 -04:00
committed by GitHub
parent 202cdac963
commit b0920aa024
8 changed files with 165 additions and 0 deletions

View File

@@ -231,6 +231,14 @@ public final class MapLibre {
return moduleProvider;
}
/**
* Set the module provider. Call this as soon as possible.
* @param provider The ModuleProvider instance to set
*/
public static void setModuleProvider(ModuleProvider provider) {
moduleProvider = provider;
}
/**
* Runtime validation of MapLibre creation.
*/