Cannot use list in lazycolumn in kotlin
I am using LazyColumn in project. When I am passing the list it giving me error. Can someone guide me what is the error?
ResultScreen.kt
@Composable
fun ResultScreen(nearestResultList: List?) {
LazyColumn(
Modifier
.fillMaxSize()
.background(getBackgroundColor())
) {...