m

    Marko Novakovic

    1 year ago
    I have this in gradle file
    implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0"
    implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha-02'
    but still can’t find
    viewModel()
    function. What should I do?
    Kevin Aude

    Kevin Aude

    1 year ago
    try
    1.0.0-alpha-02
    ->
    1.0.0-alpha02
    m

    Marko Novakovic

    1 year ago
    didn’t realise that 😄 thanks
    Kevin Aude

    Kevin Aude

    1 year ago
    no problem!