I have this in gradle file ```implementation "andr...
# compose
m
I have this in gradle file
Copy code
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?
k
try
1.0.0-alpha-02
->
1.0.0-alpha02
m
didn’t realise that 😄 thanks
k
no problem!