provideOmhMapView

fun provideOmhMapView(context: Context): OmhMapView

Provides OmhMapView interface to interact with the map from the OMH Maps library.

Return

An OmhMapView to interact with the map from the OMH Maps library.

Parameters

context

ideally your application context, but an activity context will also work.

Throws

when reflection fails for any of the implementations of the OmhMapFactory. If this happens, look if you have configured correctly the gradle plugin or if your obfuscation method hasn't tampered with the library files.