Package-level declarations

Types

Link copied to clipboard
@Module
class CoreCommonModule
Link copied to clipboard
Link copied to clipboard

Mark a class that can be injected by a Injector. This should be implemented by classes that cannot directly have their dependencies injected through constructor and need to have them injected through lateinit properties.

Link copied to clipboard
interface Injector

Mark a class that can inject into Injectables.

Link copied to clipboard
@Qualifier
annotation class InjectorKey

Annotation to identify an Injector instance.

Link copied to clipboard

A registry to maintain Injector instances so that they can be retrieved from Activitys and Fragments. This registry is needed for dagger injection because the SDK can't access Application, and thus Activitys can't get required Component from by downcasting Activity.getApplication.

Link copied to clipboard
@Qualifier
annotation class IOContext

Qualifier for coroutine context used for IO.

Link copied to clipboard
@Module
interface RetryDelayModule
Link copied to clipboard
@Qualifier
annotation class UIContext

Qualifier for coroutine context used for UI.

Link copied to clipboard

A InjectorRegistry implemented with a weak map. An entry from the map will be will be garbage collected once the Injector instance is no longer held elsewhere.

Properties

Link copied to clipboard

Dummy key when an Injector is not available.

Link copied to clipboard

Name for injected boolean to denote if logging is enabled.

Link copied to clipboard

Name for exponential backoff delay supplier

Link copied to clipboard

Name for form initial values

Link copied to clipboard
const val IS_LIVE_MODE: String

Name for isLiveMode

Link copied to clipboard
const val LINEAR_DELAY: String

Name for linear delay supplier

Link copied to clipboard

Name for user's publishable key

Link copied to clipboard

Name for user's shipping address

Link copied to clipboard

Name for user's account id

Functions

Link copied to clipboard

Try to use an InjectorKey to retrieve an Injector and inject, if no Injector is found, invoke Injectable.fallbackInitialize with fallbackInitializeParam.