Skip to content

Koin doc #2322

@robinvanPersie

Description

@robinvanPersie

https://insert-koin.io/docs/reference/koin-android/workmanager/

Could you please make the documents for this website more complete ? For example, a complete code block, including complete declarations and imports like below:

package com.xxx.xx.x

import org.koin.androidx.workmanager.koin.workManagerFactory

// now website only show  below

class MainApplication : Application(), KoinComponent {

    override fun onCreate() {
        super.onCreate()

        startKoin {
            // setup a WorkManager instance
            workManagerFactory()
            modules(...)
        }

        // where is this?  i can't find it
        setupWorkManagerFactory()
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions