Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

mihonapp/injekt

Repository files navigation

Patch for https://github.com/kohesive/injekt to make singleton factory thread safe

Usage

Add jitpack.io repository to your root build.gradle.kts file:

dependencyResolutionManagement {
    repositories {
        ...
        maven(url = "https://www.jitpack.io")
    }
}

Add library to dependencies

dependencies {
    implementation("com.github.mihonapp:injekt:1.0.0")
}

Call patchInjekt() at the start of your application. For example:

class App : Application() {

    override fun onCreate() {
        patchInjekt()
        // Rest of the code below
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages