Android: Allow custom ModuleProvider implementations in the SDK (#2231)
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user