loloof64
07/23/2022, 3:43 PMandroidx.lifecycle:lifecycle-viewmodel-compose:2.5.0
to build.gradle file of the app module. Why ?
(I keep getting the error "Expression 'viewModel' of type 'StockfishLibraryViewModel' cannot be invoked as a function. The function 'invoke()' is not found")Ian Lake
07/23/2022, 3:50 PMviewModel()
loloof64
07/23/2022, 3:51 PMIan Lake
07/23/2022, 3:55 PMviewModel()
function: import androidx.lifecycle.viewmodel.compose.viewModel
loloof64
07/23/2022, 3:55 PMIan Lake
07/23/2022, 3:56 PMinvoke()
method on your variable named viewModel
when you add the parentheses after the variable nameloloof64
07/23/2022, 3:56 PM