In Jetpack Compose Basic Codelab Animation Section
(using Jetpack Compose Beta 01)
If we copy and paste follow the code, there will be an error as shown below.
Cannot find a parameter with this name: items
What is missing?
In Jetpack Compose Basic Codelab Animation Section
(using Jetpack Compose Beta 01)
If we copy and paste follow the code, there will be an error as shown below.
Cannot find a parameter with this name: items
What is missing?
Apparently, we need to include another import that is not in the code example
import androidx.compose.foundation.lazy.items
Adding that will then get that through.
You are missing an import. In your very screenshot, there is a link to action which will automatically import it for you. Try that.
Also, as a best practice, let code completion insert stuff for you as you type, since that will take care of adding the appropriate imports, hopefully.