Adjoe.init(Context, String, Adjoe.Options, AdjoeInitializationListener).
Adjoe.initwill immediately invoke
onInitialisationFinisheduntil your app is removed from the heap.
Adjoe.init(Context, String, AdjoeInitializationListener)instead.
Adjoe.init(Context, String, Adjoe.Options)instead.
Adjoe.Optionsobject in the following way:
android.processfor application tag in androidManifest file.
Adjoe.isInitialized(). This will return
trueif the SDK is initialized and
falseotherwise. However, you should not condition calling
initon the result of
isInitializedbecause the SDK will do some checks on its own. You should not do something like the following as it can lead to bad user experience:
initwithout checking for
isInitialized. You can however use
isInitializede.g. for debugging or to check whether the SDK is initialized before calling other methods of the SDK like