Skip to content

Load and Display Images from the Internet - Unresolved reference 'Factory' #231

@purezen

Description

@purezen

In the final step of replacing earlier method with dependency injection on https://developer.android.com/codelabs/basic-android-kotlin-compose-add-repository?continue=https://developer.android.com/courses/pathways/android-basics-compose-unit-5-pathway-2%23codelab-https://developer.android.com/codelabs/basic-android-kotlin-compose-add-repository#5.

On passing, factory to the ViewModel, MarsViewModel.Factory gives an error
Unresolved reference 'Factory'

Also not sure when MarsPhotosApp.kt came under themes folder as mentioned on page.

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