Skip to content

Can I integrate koin in compose multiplatform with koin ViewModel?? #262

@shohrab-swl

Description

@shohrab-swl
val viewmodel: MyViewModel= getViewModel(
    key = MyViewModel::class.getFullName(),
    factory = viewModelFactory { MyViewModel(userDataRepository) }

Is it possible to koinInject??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions